Commit Graph

265 Commits

Author SHA1 Message Date
374f979ae3 Fix synchronized mismatch
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-14 23:52:12 +01:00
53abab6bf3 Update DroneCI config
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-14 23:49:20 +01:00
5591b8abab Make method synchronized
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-14 23:30:57 +01:00
5afb398299 Update DroneCI config 2023-01-14 23:27:50 +01:00
0d8c3e2be3 Implement SonarQube support
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-14 21:49:47 +01:00
818a25346b Optimize imports
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-14 20:22:37 +01:00
28286f5389 Fix date parser
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-14 20:20:59 +01:00
DeepSource Bot
b174c581e9 Add .deepsource.toml
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-14 19:16:58 +00:00
c843d2cd61 Update instructions order when registering listeners
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-12-28 05:41:24 +01:00
3bd09d2867 Update a small comment 2022-12-28 05:41:24 +01:00
c077b92f93 Update 'README.MD' 2022-12-28 05:41:24 +01:00
ecff77867c Update 'README.MD' 2022-12-28 05:41:24 +01:00
5e4e79d505 Bump version to 0.5.16 2022-12-28 05:41:24 +01:00
e1c22ac059 Implement ban, kick, timeout slash commands 2022-12-28 05:41:24 +01:00
3676e9d5ad Make trivia command defer reply 2022-12-28 05:41:24 +01:00
5acd900857 Rework time parsing utils 2022-12-28 05:41:24 +01:00
d2f00c781e Implement basic timeout command 2022-12-28 05:41:24 +01:00
35b2c8fb42 Implement basic ban command 2022-12-28 05:41:23 +01:00
420666eab1 Implement basic kick command 2022-12-28 05:41:23 +01:00
52fe279f35 Add bot age info 2022-12-28 05:41:23 +01:00
7ac72f9e38 Bump version to 0.5.15 2022-12-28 05:41:23 +01:00
00c46c1396 Implement profile banner grabber command 2022-12-28 05:41:23 +01:00
7f7ada9b9e Fix minetest's name in random statuses 2022-12-28 05:41:23 +01:00
47bd16fd13 Fix missing JSON dependency 2022-12-28 05:41:23 +01:00
f5a8c2af48 Mitigate potential RCE from SnakeYaml (CVE-2022-1471)
This vulnerability is very unlikely to ever happen, since the only way to modify the YAML file is to edit it yourself, and it would be useless for a bot owner to RCE their own bot. No other person can edit the configuration file remotely (eg. with bot commands), so realistically, this could not happen.
2022-12-28 05:41:23 +01:00
50196bb8f9 Make trivia support slash commands too 2022-12-28 05:41:23 +01:00
26f1c880ea Handle trivia edge cases without hanging 2022-12-28 05:41:23 +01:00
09c53c07a1 Bump version to 0.5.14 2022-12-28 05:41:23 +01:00
1c19f3c07f Implement trivia welcome screen with category picker 2022-12-28 05:41:23 +01:00
d4c3afbddd Bump version to 0.5.13 2022-12-28 05:41:23 +01:00
96f298b654 Make trivia have a functional scoreboard 2022-12-28 05:41:23 +01:00
48fdb32e15 Make trivia functional 2022-12-28 05:41:23 +01:00
eb93362d16 Add emojis to trivia buttons 2022-12-28 05:41:23 +01:00
9f147cee65 Make trivia announce correct answer 2022-12-28 05:41:23 +01:00
b0d234a454 Raise trivia timeout to 15s 2022-12-28 05:41:23 +01:00
c9082e84cc Make trivia loop through all questions 2022-12-28 05:41:23 +01:00
0be4389448 Disable trivia in dms 2022-12-28 05:41:23 +01:00
c1059bb937 Raise interaction expiration time to 30s 2022-12-28 05:41:23 +01:00
78f62b5f8d Make trivia functional for a single question 2022-12-28 05:41:23 +01:00
3a8a44adf0 Only fetch multiple-answer trivia for now 2022-12-28 05:41:23 +01:00
cfa7aef333 Fix build errors 2022-12-28 05:41:23 +01:00
0e256e4cb5 Remove unneeded methods from MessageResponse 2022-12-28 05:41:23 +01:00
b0622f36aa Start implementing trivia command 2022-12-28 05:41:23 +01:00
e451f59199 Remove double space on urban footer 2022-12-28 05:41:23 +01:00
f3cc9a2d75 Add emojis to urban dictionary 2022-12-28 05:41:23 +01:00
8f5c29aa95 Convert message response to immutable record 2022-12-28 05:41:23 +01:00
df1e2426e3 Bump version to 0.5.12 2022-12-28 05:41:23 +01:00
91261f04e5 Make dice roll support slash commands too 2022-12-28 05:41:23 +01:00
bc0463dd38 Add a MessageResponse class for mixed-type content 2022-12-28 05:41:23 +01:00
161c91b45d Rename method 2022-12-28 05:41:23 +01:00