https://github.com/Josepdal/DBTeamV2
New version available DBTeamV3 ->
https://github.com/Josepdal/DBTeamV2
dbteamv2 telegram telegram-bot telegram-cli
Last synced: 7 months ago
JSON representation
New version available DBTeamV3 ->
- Host: GitHub
- URL: https://github.com/Josepdal/DBTeamV2
- Owner: Josepdal
- Archived: true
- Created: 2017-01-16T00:44:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-20T15:27:14.000Z (over 8 years ago)
- Last Synced: 2024-11-25T01:33:32.666Z (about 1 year ago)
- Topics: dbteamv2, telegram, telegram-bot, telegram-cli
- Language: Lua
- Homepage: https://github.com/Josepdal/DBTeamV3
- Size: 5.54 MB
- Stars: 29
- Watchers: 5
- Forks: 23
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **DBTeamV2** #
[](https://core.telegram.org/tdlib)
[](https://bitbucket.org/vysheng/tdcli)
[](https://www.lua.org/)
[](https://redis.io/)
[](https://github.com/Josepdal/DBTeamV1/blob/master/LICENSE)
### An administration Telegram bot using Telegram-cli
DBTeamV2 is a a powerful administration userbot that uses [Telegram-Cli](https://valtman.name/telegram-cli).
It is programmed in [Lua](https://www.lua.org/) and uses the rapid [Redis](https://redis.io/) database.
The difference among the old [DBTeamV1](https://github.com/Josepdal/DBTeamV1) and [DBTeamV2](https://github.com/Josepdal/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
- 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
# Installation
Debian/Ubuntu and derivatives:
```bash
# 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:
```bash
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:
```bash
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:
```bash
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:
```bash
quit
```
And execute the following command:
```bash
./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:
```bash
./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://t.me/Josepdal)
[](https://t.me/Jarriz)
[](https://t.me/iicc1)
DBTeamV2 Channels:
--------------------
[](https://t.me/DBTeamEN)
[](https://t.me/DBTeamES)
Special thanks to:
==================
Yago Pérez and his telegram-bot
-------------------------------
[](https://t.me/Yago_Perez)
[](https://github.com/yagop/telegram-bot)
Riccardo and his GroupButler
----------------------------
[](https://t.me/bac0nnn)
[](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](https://t.me/Reload_Life) for [settings design](https://github.com/Reload-Life).