Tour-de-force of storing scores for core Discord Wordle supporters.
Tracks scores for each by username in a specific Discord channel:
- wordle scores
- nyt mini crosswords scores
- refactor to Discord.js
- get channel id from interaction
- get the channel msg data from discord api
- analyze short term data
- generate nice stats and a chart
- cloud hosting db and bot code
- leaderboard
Set up the .env
file like .env.sample
To install packages, run npm install
To register newly added commands, run npm run register
To run the app, run node app.js
If there's no public endpoint where Discord can send requests, use ngrok
to tunnel HTTP traffic.
ngrok http 3000
Copy ngroks
's base Forwarding url into the Discord app settings appended with interactions
.
Link to start bot:
https://discord.com/oauth2/authorize?client_id=1124486595928674314&permissions=67584&scope=bot
node index.js
to run Discord.js version