Commit graph

115 commits

Author SHA1 Message Date
Ayden Jahola
82040aaba5
trivia: maybe fix the session token issue? 2024-09-09 15:17:03 +01:00
Ayden Jahola
6c3a6824a9
trivia: add session back 2024-09-09 11:48:02 +01:00
Ayden Jahola
4c443fec7c
trivia: issues with token, remove it for temp fix for now 2024-09-09 11:35:52 +01:00
Ayden Jahola
1a3599d8b0
modertaion: add ban, kick and timeout commands 2024-09-08 21:58:36 +01:00
Ayden Jahola
088b575f20
updat .env.example and README 2024-09-08 20:52:49 +01:00
Ayden Jahola
916f150a5f
games: add source and few changes to scramble 2024-09-08 20:41:23 +01:00
Ayden Jahola
c298a22257
add scripts 2024-09-08 18:57:37 +01:00
Ayden Jahola
eb6445b0f9
trivia: avoid adding duplicate questiosn to the db 2024-09-08 18:38:08 +01:00
Ayden Jahola
83fc8d207e
trivia: maybe next time I should read api docs proeprly, add session token so we aboid reapeated question 2024-09-08 18:34:21 +01:00
Ayden Jahola
2c079eb173
urban dictionary: rename the schame from Definitiosn to UrbanDictionary to avoid confusion 2024-09-08 01:28:21 +01:00
Ayden Jahola
80563bcb9f
commands: add Powered by Urban Dictionary to urban dictionary 2024-09-08 01:24:23 +01:00
Ayden Jahola
a9e163c104
commands: make urban dictionary save to db, and then serve from db if its stored 2024-09-08 01:22:22 +01:00
Ayden Jahola
d6fc9d03cd
commands: add urban dictionary 2024-09-08 01:14:48 +01:00
Ayden Jahola
1468527a7e
commands: add dictionary 2024-09-08 00:34:08 +01:00
Ayden Jahola
5384e1f684
games: add word association 2024-09-08 00:15:41 +01:00
Ayden Jahola
91c38d0c59
commands: move random fact to fun dir rather than games 2024-09-07 23:49:52 +01:00
Ayden Jahola
971e339896
restructure commands dir and add scramble and random fact 2024-09-07 23:49:03 +01:00
Ayden Jahola
ec59d3dca2
trivia: add the trivia source in the embed 2024-09-07 21:39:45 +01:00
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
09438d2d21
update README 2024-09-06 00:49:38 +01:00
Ayden Jahola
3f3fed530f
update README 2024-09-06 00:47:10 +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
acd25f6a9c
update README 2024-09-05 18:53:52 +01:00
Ayden Jahola
f39641c862
update README 2024-09-05 18:52:44 +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