A modular, asynchronous, highly-configurable, plug and play Telegram bot built using the fantastic python-telegram-bot library.
SuperSeriousBot is an asynchronous Telegram bot with modular commands, SQLite-backed state, and API-key-gated optional features.
Current command set includes:
- AI features:
/ask,/edit,/tldr,/tr,/model,/thinking - Object store + media:
/set,/get,/dl,/gif,/meme,/joke - Language + utility:
/tl,/tts,/define,/ud,/calc,/book - Group utilities:
/remind,/habit,/summon,/highlight - Stats + moderation:
/stats,/gstats,/ustats,/seen,/block,/unblock,/whitelist - Social graph:
/friends - Weather + quotes:
/weather,/addquote,/quote
Notes:
- No standalone caption command. Image captioning is done by replying to an image/sticker with
/ask. - Most API-key commands are auto-disabled when keys are missing; some validate at runtime (for example
/weather). - Send
/helpto @SuperSeriousBot for the live command list.
Before you can begin, you'll need to get a token and API keys for your bot. You can get the token from @BotFather.
Run the following command to generate an empty environment file:
$ git clone https://github.com/obviyus/SuperSeriousBot
$ cp .env.example ssgbot.envFill ssgbot.env.
Required:
TELEGRAM_TOKENQUOTE_CHANNEL_ID
Optional:
OPENROUTER_API_KEYfor/ask,/edit,/tldr,/trWAQI_API_KEYfor/weatherGIPHY_API_KEYfor/gifGOODREADS_API_KEYfor/bookWOLFRAM_APP_IDfor/calcCOBALT_URLfor/dlbackend overrideADMINS,UPDATER,WEBHOOK_URL,LOGGING_CHANNEL_IDfor bot ops
SuperSeriousBot is run via Docker. The latest image can always be found at: ghcr.io/obviyus/SuperSeriousBot.
To start the bot you only need docker-compose.yaml and a valid ssgbot.env file.
$ docker compose up --buildLocal dev (without Docker):
$ uv sync
$ uv run python src/main.pyAll commit messages must conform to the Angular Commit Message conventions.
