Skip to content

Simple bot that keeps streaks in discord servers using keywords and times

License

Notifications You must be signed in to change notification settings

DynamicWhiteHat/discordStreaks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Streaks

Discord bot that has various commands useful in keeping streaks for servers. Stores information safely in a SQLite database. 100% written in Python.

Screen.Recording.2024-12-02.211943.mp4

Commands:

  • /streak current: Displays the current streak of a user
  • /streak leaders: Displays the server's top 3 current streaks
  • /streak best: Displays the all-time best streak of a user
  • /streak all-time: Displays the server's top 3 best streaks
  • /streak info: Displays the database info for a user

Usage: If using for your own server, create a new application at https://discord.com/developers/applications. Under bot, give the bot access to read message history, use slash commands, and send messages. Create a file called .env and create a variable titled "DISCORD_TOKEN." This variable will store your Discord token ID. Once done, copy the install link in the developer portal to add the bot to your server.

Hosting: Using Railway or Render are two great options to host the bot. Replit using flask is another viable option.

Storage Information: All data is stored in a file that will automatically be created called "streaks.db". This is an SQLite3 file that stores the following information: username, current streak, best streak, and last update.

Known Bugs:

  • Streak doesn't break until it is checked again by calling the streak keyword

About

Simple bot that keeps streaks in discord servers using keywords and times

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages