Skip to content

Who has the biggest dick ever? A game bot for Telegram

License

Notifications You must be signed in to change notification settings

kozalosev/DickGrowerBot

Repository files navigation

CI Build

A game bot for group chats that let its users grow their virtual "dicks" every day for some random count of centimeters (including negative values) and compete with friends and other chat members.

Additional mechanics

(compared with some competitors)

  • The Dick of the Day daily contest to grow a randomly chosen dick for a bit more.
  • A way to play the game without the necessity to add the bot into a group (via inline queries with a callback button).
  • Import from @pipisabot and @kraft28_bot (not tested! help of its users is required).
  • PvP fights.

Soon (but not very, I guess)

  • global monthly events

Features

  • true system random from the environment's chaos by usage of the get_random() syscall (BCryptGenRandom on Windows, or other alternatives on different OSes);
  • English and Russian translations;
  • Prometheus-like metrics.

Technical stuff

Requirements to run

  • PostgreSQL;
  • [optional] Docker (it makes the configuration a lot easier);
  • [for webhook mode] a frontal proxy server with TLS support (nginx-proxy, for example).

How to rebuild .sqlx queries?

(to build the application without a running RDBMS)

cargo sqlx prepare -- --tests

Adjustment hints

It's most probably you want to change the value of the GROW_SHRINK_RATIO environment variable to make the players upset and disappointed more or less often.