Skip to content

loganjaymes/TRIFECTA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trifecta

What is it?

Trifecta is a Discord bot that automatically tracks any scores sent into a text channel from the NYT Wordle, Mini-Crossword, and Connections. Each user's score is logged into their respective game's daily leaderboard in ascending order.

Screenshots

Leaderboard in Use Help Command
A gif highlighting the daily leaderboard and its emoji pagination A screenshot showcasing the help command with the text: help - Provides the full list of commands; ping - Provides my ping in ms; hello - Says hello!; daily - Provides the (somewhat) daily leaderboard for the NYT Wordle, Mini-Crossword, and Connections; alltime - WIP, profile - Provides a user's profile; customization is a WIP
Profile Example 1 Profile Example 2
A screenshot displaying the profile of a user, including information such as server stats, trifecta stats, and user stats A screenshot displaying the profile of another user that was tagged following the t!profile command. It includes information such as server stats, trifecta stats, and user stats

Getting Started

  1. Git clone the repo!
  2. Make a python virtual env called python3 -m venv TRIFECTA (be sure to be in the git repo!)
  3. Activate it! source TRIFECTA/bin/activate (for linux/mac)
  4. pip3 install -r requirements.txt
  5. make the .env (contact logan)

Known Issues

  • Timed out footer does not update on t!daily embeds
  • Some special emoticons (eg. kaomojis) cause an error when writing scores (a planned fix is through a try catch block that will use the member's username instead, rather than their display name)
  • Scores do not reset at midnight for each game

Plans for the Future

  • Add default text to a blank leaderboard
  • An all-time leaderboard with gold, silver, bronze placements (eg. gold +3, silver +2, bronze +1 to all-time score based on daily scores)
  • Have daily leaderboards be server-independent
  • Have pagination wrap around, eg. page 0 -> back a page -> last page
  • Add days played, user-oriented daily stats, customization, and total times in the top (per game) to profile
  • Potentially move pagination to a separate class OR utilize a pre-made repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages