Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

Repository files navigation

Features

  • 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 :)

Try it out

There is a public instance of this bot located at@streakaqbot

Installing

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

LICENSE

This product is licensed by theMIT License.LICENSE

About

Telegram bot for counting the number of days of addiction prevention. Uses PostgreSQL. Can show statistics, leaderboard within chats, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp