Home

Awesome

DBTeamV2

Library Telegram-cli Lua Redis License

An administration Telegram bot using Telegram-cli

DBTeamV2 is a a powerful administration userbot that uses Telegram-Cli.
It is programmed in Lua and uses the rapid Redis database.

The difference among the old DBTeamV1 and DBTeamV2 is that this one uses a much newer Tg-Cli with new stuff and also the bot has improved in usability, stability and has new functions.

Summary

Installation

Debian/Ubuntu and derivatives:

# Tested on Ubuntu 16.04 and Debian 8.7.1 stable. (please use release "stable", isn't working on stretch/testing)
sudo apt-get install git redis-server libconfig8-dev libjansson-dev lua5.2 liblua5.2-dev lua-lgi glib-2.0 libnotify-dev libssl-dev libssl1.0.0 make libstdc++6 g++-4.9 unzip tmux -y

# If you have errors (maybe you'll need this on Ubuntu)
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; sudo apt-get autoclean; sudo apt-get update
sudo apt-get install git redis-server libconfig8-dev libjansson-dev lua5.2 liblua5.2-dev lua-lgi glib-2.0 libnotify-dev libssl-dev libssl1.0.0 make libstdc++6 g++-4.9 unzip libreadline-gplv2-dev libreadline5-dev tmux -y

# If your bot still not working, maybe you don't have installed gcc and openssl, check if you have both installed.

Arch:

sudo pacman -S yaourt
sudo yaourt -S git redis-server libconfig8-dev libjansson-dev lua5.2 liblua5.2-dev lua-lgi glib-2.0 libnotify-dev libssl-dev libssl1.0.0 tmux

Fedora:

sudo dnf install git redis-server libconfig8-dev libjansson-dev lua5.2 liblua5.2-dev lua-lgi glib-2.0 libnotify-dev libssl-dev libssl1.0.0 tmux

After installing the dependencies, lets install the bot:

 git clone https://github.com/Josepdal/DBTeamV2.git
 cd DBTeamV2
 chmod +x launch.sh
 ./launch.sh install # you can use the option --no-download and only configure DBTeam
 ./launch.sh # Will ask you for a phone number & confirmation code.

To update the bot, you must exit the Tg-Cli console:

quit

And execute the following command:

./launch.sh update

The code will be updated if there is something new.

You can also run the bot in a Tmux session if you want:

./launch.sh tmux # create a session tmux

./launch.sh attach # if you want back to tmux session

./launch.sh kill # close session tmux

DBTeamV2 Developers:

https://telegram.me/Josepdal https://telegram.me/Jarriz https://telegram.me/iicc1

DBTeamV2 Channels:

https://telegram.me/DBTeamEN https://telegram.me/DBTeamES

Special thanks to:

Yago Pérez and his telegram-bot

https://telegram.me/Yago_Perez https://github.com/yagop/telegram-bot

Riccardo and his GroupButler

https://telegram.me/Riccardo https://github.com/RememberTheAir/GroupButler

vysheng and his new tg-cli

https://valtman.name/telegram-cli https://github.com/vysheng

rizaumami and his tdcli lib

https://github.com/rizaumami/tdcli.lua

Thanks to @Reload_Life for settings design.