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.
- Easy to setup and to update, no compilation needed.
- Uses a plugins system so you can easily configure or add what you need.
- Multilanguage and easy to add new languages.
- Has many funtions that normal bots are not able to do, e.g., remove messages.
- Advanced moderation system.
- Has privilege ranges (sudo, admin, mod, user).
- Simple and intuitive command usages.
- Compatible with most of recent added telegram additions.
- Really fast and stable.
- Up-to-date documentation at http://telegra.ph/DBTeamV2-Tutorial-English-02-26
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
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
Thanks to @Reload_Life for settings design.