Nanda-G / bot

A modular, highly-configurable, plug and play Telegram bot

Home Page:https://t.me/SuperSeriousBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Super Serious Bot

Python build Publish image Lines of Code Commit activity Telegram

Introduction

The Super Serious Bot is a modular, asynchronous, highly-configurable, plug and play Telegram bot built using the fantastic python-telegram-bot library.

Features

By adding this bot to your group you can use this growing set of functions. Notable ones include:

  • /stats to display today's chat statistics
  • /steamstats to query a user's Steam profile
  • /ban and /kick to ban or kick a member
  • /weather to return live weather data of a location
  • /tts to generate speech from provided text using Google's TTS engine
  • /translate to translate a text in and to any language
  • /hltb to query the HowLongToBeat API for game data
  • /calc to query Wolframalpha

... and many more! To see a complete list of commands send /help to @SuperSeriousBot

Usage

Configuration

  1. Before you can begin, you'll need to get a token and API keys for your bot. You can get the token from @BotFather.
  2. Run the following command to generate an empty environment file:
$ git clone https://github.com/Super-Serious/bot
$ cp /bot/configuration/.env.example /bot/ssgbot.env
  1. Now fill up the .env file with all the API keys mentioned

Running

SuperSeriousBot is run via Docker. The latest image can always be found at: http://ghcr.io/super-serious/bot.

To start the bot you only need the docker-compose.yml and a valid ssgbot.env file.

$ docker-compose up -d

Development

We also use Docker as the preferred development environment:

$ git clone https://github.com/Super-Serious/bot
$ cd bot
$ docker-compose up 

Any changes to the code persist through container restarts, no need to rebuild the image!

To test if the bot is running, simply send a /start message to it.

Recommended Reading

Contributing

Contributions are welcome! You can view our contributing guidelines here.

About

A modular, highly-configurable, plug and play Telegram bot

https://t.me/SuperSeriousBot

License:MIT License


Languages

Language:Python 98.9%Language:Dockerfile 0.9%Language:Shell 0.3%