/DBTeamV3

New DBTeamV3 working with new tdcli binary called Telegram-bot

Primary LanguageLua

DBTeamV3

Library Telegram-bot Lua Redis License

An administration Telegram bot using Telegram-cli

DBTeamV3 is a a powerful administration userbot that uses telegram-bot.
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.

Using DBTeamV3 you will get all DBTeamV2 features plus the latests telegram changes like calls, payments and so more. Of course, is working in every chat including channels.

Summary

  • 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., read channels.
  • 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

Installation

Debian/Ubuntu and derivatives:

# Tested on Ubuntu 16.04
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install git redis-server lua5.2 liblua5.2-dev lua-lgi libnotify-dev unzip tmux -y && add-apt-repository ppa:ubuntu-toolchain-r/test && sudo apt-get update && apt-get upgrade && sudo apt-get install libconfig++9v5 libstdc++6 && sudo apt autoremove



#luarocks install
wget http://luarocks.org/releases/luarocks-2.2.2.tar.gz
tar zxpf luarocks-2.2.2.tar.gz
cd luarocks-2.2.2
./configure; sudo make bootstrap
sudo luarocks install serpent
#if error clone
git config --global url."https://".insteadOf git://

In case of errors like version GLIBCXX_3.4.21 not defined, download manually libstdc++6 from here, install the package with dpkg -i and repeat the previous step.

If you are not able to install the bot in Ubuntu 14, an upgrade to Ubuntu 16.04 is recommended. Upgrade from terminal: sudo do-release-upgrade


After installing the dependencies, lets install the bot:

 git clone https://github.com/saman9074/DBTeamV3.git
 cd DBTeamV3
 chmod +x launch.sh
 ./launch.sh install
 ./launch.sh login # Will ask you for a phone number & confirmation code.
 ./launch.sh

DBTeamV3 Developers:

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

DBTeamV3 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 telegram-bot

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.