Potuzhnometr
A Ukrainian joke Telegram bot that scores your daily "potuzhnist" and lets you scream to raise it.
- Status
- live
Potuzhnometr is a Telegram bot for Ukrainian group chats. Once a day /potuzhno gives you a
score from 0 to 100 and a title; potuzhnist is Ukrainian for “power” and the meme behind it.
The bot, its SQLite database and the Mini App all run on Telegram Serverless.
What it does
- In groups the daily roll is 0-70 luck plus up to 30 points for messages you wrote in that chat today. Only counts are stored.
- The Mini App scores a scream on the device (FFT over loudness, duration, stability, growl and punch), or counts taps without a microphone. A better result replaces the day’s roll.
/battlepits two players against each other; the winner takes 10% of the challenger’s total.- Streak bonuses at 3, 7, 14 and 30 days, a hero of the day, and chat and global leaderboards.
- Every morning each chat gets yesterday’s results and its loudest scream as a voice message.
A morning post without a scheduler
Telegram Serverless has no cron, so the morning post runs from GitHub Actions. Scheduled Actions runs are often late or skipped, so the workflow has ten slots between 04:07 and 09:07 UTC, which covers 9:00 Kyiv in summer and winter time. Each run exits early before 9:00 Kyiv. If all of them are skipped, the first message in a chat after 9:00 posts that chat’s overdue scream.
Several runs can fire on the same morning, and the platform has no transactions. Posting a
day starts with UPDATE ... SET posted = 1 WHERE posted = 0 RETURNING *; whoever gets the row
back sends it, and everyone else does nothing. Battle moves use the same pattern: a move only
lands if that player’s score is still empty.