Commit graph

99 commits

Author SHA1 Message Date
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
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
899d3f8793
add bot activity 2024-09-02 19:20:49 +01:00
Ayden Jahola
b1395eb032
I did an opsie and removed comamnds regiseteration with discord api 2024-09-02 19:12:59 +01:00
Ayden Jahola
81805183f6
update bot activity 2024-09-02 18:57:41 +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
Ayden Jahola
fb7c4a3d7e
Update README 2024-08-31 11:21:55 +01:00
Ayden Jahola
e5b8ef3f1c
adjust error message of invalid email to be dcu student email 2024-08-31 10:04:44 +01:00
Ayden Jahola
5e219a154c
adjust the email domain to take multiple arguments/domains and add .env.example 2024-08-31 10:03:09 +01:00
Ayden Jahola
21de9bccd3
add from name, change email template 2024-08-31 02:59:28 +01:00
Ayden
5c9640dc25
Create LICENSE 2024-08-31 02:38:00 +01:00
Ayden Jahola
e54a03215a
make verification channel an env variable 2024-08-31 02:35:14 +01:00
Ayden Jahola
c6a5dd2701
initial commit 2024-08-31 02:34:09 +01:00