- Notifications
You must be signed in to change notification settings - Fork2
Telegram bot for counting the number of days of addiction prevention. Uses PostgreSQL. Can show statistics, leaderboard within chats, etc.
License
NotificationsYou must be signed in to change notification settings
Aqendo/streak-bot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- Count your streak
- Count total days of preventing addiction
- Collaborate with friends in groups
- Leaderboard by streak days
- Convenient use
- Admins can remove cheaters from leaderboard
- Admins can return people to leaderboard
- Users can delete all info about themselfs
- PostgreSQL
- Async
- Docker support
- Written inAiogram
- MIT License :)
There is a public instance of this bot located at@streakaqbot
Install requirements:
$cp .env{.example,}
Editing.env
file:
TOKEN="12345678:AAAAAAAAAAAAAAAAAAAAAAAAAAAA"POSTGRES_LOGIN="login"POSTGRES_PASSWORD="password"POSTGRES_HOST="localhost"POSTGRES_DB="database"SQLALCHEMY_ECHO=falseTIMEOUT_SCOREBOARD_IN_SECONDS=360
- TOKEN - Token fromhttps://t.me/BotFather
- SQLALCHEMY_ECHO - Every SQL transaction will be echoed.
true
orfalse
- TIMEOUT_SCOREBOARD_IN_SECONDS - Every X seconds scoreboards will be refreshed.
$docker-compose up -d --build
This product is licensed by theMIT License.LICENSE