Commit graph

83 commits

Author SHA1 Message Date
Ayden Jahola
616d823dde
trivia: reset user's steak when time is up 2024-09-07 12:35:19 +01:00
Ayden Jahola
9d3a56a640
trivia: add streaks 2024-09-07 11:32:03 +01:00
Ayden Jahola
b33a4c02cc
trivia: include the correct answer if the user answers wrong or time's up 2024-09-07 11:27:07 +01:00
Ayden Jahola
3efa8eac1b
trivia: implement logic that checks if the questions exists in the db already and if not then it fetches a new question 2024-09-06 02:27:50 +01:00
Ayden Jahola
99dc71fc60
trivia: try minimise duplicate questions 2024-09-06 02:23:33 +01:00
Ayden Jahola
d38b9e531a
trivia: quick refactor 2024-09-06 02:11:06 +01:00
Ayden Jahola
04254e660c
trivia: forgot to include & in my regex smh 2024-09-06 01:46:07 +01:00
Ayden Jahola
82f2f7ed36
trivia: add regex formatting so that titles can have the category names 2024-09-06 01:41:23 +01:00
Ayden Jahola
b416dd8e0a
trivia: add more mythology 2024-09-06 01:32:36 +01:00
Ayden Jahola
3a229a5899
trivia: add more categories 2024-09-06 01:23:00 +01:00
Ayden Jahola
204540f936
trivia: add science and nature 2024-09-06 01:14:01 +01:00
Ayden Jahola
96a12f0f72
trivia: add more categories 2024-09-06 01:00:20 +01:00
Ayden Jahola
a7255119f3
trivia: tldr, dont push into prod without testing 2024-09-06 00:22:36 +01:00
Ayden Jahola
4572fb18ed
trivia: maybe true and false wont act up now? idk im dumb somtimes 2024-09-06 00:18:16 +01:00
Ayden Jahola
06934db8b9
trivia: add computers category 2024-09-06 00:13:07 +01:00
Ayden Jahola
caf133207f
I can spell 2024-09-06 00:03:44 +01:00
Ayden Jahola
2a9058925d
update error message on rate limit 2024-09-06 00:02:41 +01:00
Ayden Jahola
d693d2f714
fix a bug where if the user enocouters an error it would still wouild be makred as ongoing trivia 2024-09-06 00:00:30 +01:00
Ayden Jahola
50bfb9c6e3
restrict users from only requesting one trivia at a time, unless they answer their exisitng one 2024-09-05 23:55:49 +01:00
Ayden Jahola
379afca76b
add anime & manga option to the trivia command and add clear leaderboard command 2024-09-05 21:29:50 +01:00
Ayden Jahola
70ac364608
trivia: make trivia api limit formatted clearly 2024-09-05 21:03:09 +01:00
Ayden Jahola
d3ac6fad8d
include true or false questions in the trivia using their api 2024-09-05 20:38:47 +01:00
Ayden Jahola
9b94d52c76
Leaderboard: reformat how the users are displayed in the embed and make them more readable 2024-09-05 20:15:38 +01:00
Ayden Jahola
859fa3124b
Leaderboard: remove avatar cause it looks weird 2024-09-05 20:11:52 +01:00
Ayden Jahola
d482b8673b
Leaderboard: update leaderboard to display users server name rather than discord username, and add their avatar 2024-09-05 20:10:04 +01:00
Ayden Jahola
77e5489269
add trivia command as well as leaderboard command, and update README 2024-09-05 18:49:18 +01:00
Ayden Jahola
2ec7c73709
restructure commands to be in seperate dirs, add mod commands and plenty others 2024-09-05 03:50:51 +01:00
Ayden Jahola
a44310b00f
ensure the /verify and /code only work in the specified channel, and add admin log channel to the .env.example 2024-09-02 23:05:25 +01:00
Ayden Jahola
d11ccfab4e
make code mentions user upon success 2024-09-02 21:35:05 +01:00
Ayden Jahola
6d6d9b8a58
add logs for admin channel to notify when user verified successfully 2024-09-02 21:31:20 +01:00
Ayden Jahola
8a73c3860c
update code to not manually delete verification code 2024-09-02 20:33:11 +01:00
Ayden Jahola
213fdbc582
update logs to make them nicer and set dicsord activity 2024-09-02 18:51:45 +01:00
Ayden Jahola
6ee0b874b5
rewrite the bot to use slash commands and use empheral messages for privacy 2024-09-02 18:32:03 +01:00