A telegram bot for telegram public groups leaderboards
This bot does statistics and leaderboards about public supergrous and their users.
This bot can be added in telegram public groups. The creator of the group can set the language and some other options. Texting the bot in private chat, you can get statistics about you and groups leaderboard. Users can choose the order of the groups by:
- number of members
- number of sent messages during the current week
- votes average (Users can vote groups)
Groups are filtered by regions. Leaderboards are shown with beatiful pages like for a website.
The groups you can see in the following screenshots are real groups and they are created by users not related with this project, but they just added the bot in the group to take part of the leaderboard. So i don't have any responsibilities about their names or their topics.
/leaderboard - check out supergroups leaderboards
/vote - vote a group
/aboutyou - get stats about you
/settings - change your settings
/feedback - send a feedback
/help - get an help command
/settings - set group settings
/groupleaderboard - get a message containing leaderboard of users that wrotemore messages in the group during the current week (UTC)
/grouprank - Check the rank of the group
- Move to the path where you want to create the virtualenv directory
cd path
- Create a folder containing the env named
tsbenv
virtualenv -p python3 tsbenv
- Install the bot from the zip
tsbenv/bin/pip install https://github.com/91dariodev/topsupergroupsbot/archive/master.zip
- Run the bot. The first parameter of the command is the
config.yaml
file. Copy from the sourceconfig.example.yaml
and create a file namedconfig.yaml
replacing values.
tsbenv/bin/topsupergroupsbot path/config.yaml
- To upgrade the bot:
tsbenv/bin/pip install --upgrade https://github.com/91dariodev/topsupergroupsbot/archive/master.zip
- To delete everything:
cd ..
rm -rf tsbenv
TopSupergroupsBot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with TopSupergroupsBot. If not, see http://www.gnu.org/licenses/.