slasyz / toxicbot

Telegram bot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Toxic Bot

Toxic Bot is a Telegram bot.

It was made mostly for my own amusement, so it's not really useful for anyone else.

Main features

Random replies

It uses Markov chain algorithm to generate a random reply when someone mentions the bot, or when it feels an urge to join the conversation with its dumb phrases.

Random replies example.

Jokes

The bot can send a low-quality anecdote in response to /joke command. It also sends them each midnight Moscow time to each chat it was added.

Anecdote example.

Music links converting

If the bot detects a link to music in some music streaming service, it searches for it in other streaming services and sends them in response.

Music link converting example.

Tarot cards divination

Tarot example (first step).

Tarot example (second step).

Tarot example (third step).

Installation

mkdir -p ~/deployments/toxic
chmod 0755 ~/deployments/toxic

sudo -u postgres createuser toxic -P
sudo -u postgres createdb -O toxic toxic

inv deploy -t=user@host

License

MIT

About

Telegram bot.


Languages

Language:Python 95.7%Language:HTML 1.8%Language:Shell 1.4%Language:Makefile 1.0%Language:Dockerfile 0.1%