c843d2cd61
Update instructions order when registering listeners
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
d09c59996b
Cache love calculator results in RAM
2022-12-28 05:41:23 +01:00
1c82d2b53b
Make love calculator also support slash commands
2022-12-28 05:41:23 +01:00
174b78704f
Optimize imports
2022-12-28 05:41:23 +01:00
ba64c02049
Increase randomness by updating the random's seed every minute
2022-12-28 05:41:23 +01:00
264a94fe0d
Bump version to 0.5.11
2022-12-28 05:41:23 +01:00
9e1888611a
Make random statuses update automatically
2022-12-28 05:41:23 +01:00
b1b62bab9f
Fix invite command being categorized as fun
2022-12-28 05:41:23 +01:00
de34caa513
Improve help command title
2022-12-28 05:41:23 +01:00
215e597a4d
Make permissions bold instead of code-wrapped
2022-12-28 05:41:23 +01:00
217022faca
Bump version to 0.5.10
2022-12-28 05:41:23 +01:00
34c100acde
Fix nothing being rolles if no arg was specified
2022-12-28 05:41:22 +01:00
496304c2c3
Make help command use descriptions and usages
2022-12-28 05:41:22 +01:00
e08fefbda3
Fix spacing
2022-12-28 05:41:22 +01:00
6c4d362ca4
Improve default responses
2022-12-28 05:41:22 +01:00
0e1a7d3459
Bump version to 0.5.9
2022-12-28 05:41:22 +01:00
e2c84f62c3
Make command category not null
2022-12-28 05:41:22 +01:00
b20fb73371
Implement alias command
2022-12-28 05:41:22 +01:00
61745c36d0
Implement alias command
2022-12-28 05:41:22 +01:00
480b8b5eda
Add help command and command categories
2022-12-28 05:41:22 +01:00
f9fe12a248
Remove deprecated and unused private method
2022-12-28 05:41:22 +01:00
28d7ff18ba
Throw exception in case of serialization issue
2022-12-28 05:41:22 +01:00
1644a4b07d
Make serialization util class
2022-12-28 05:41:22 +01:00
68dceaff13
Use enum instead of boolean for page switching
...
This is useless but looks better
2022-12-28 05:41:22 +01:00
7dcdf9dbde
Remove duplication
2022-12-28 05:41:22 +01:00
c4d81fb0e4
Add javadoc comment
2022-12-28 05:41:22 +01:00
24a55e14fd
Merge two classes
2022-12-28 05:41:22 +01:00
cce57b8108
Optimize imports
2022-12-28 05:41:22 +01:00
fc846fa901
Remove duplicated method
2022-12-28 05:41:22 +01:00
4476dd2f7b
Fix small emoji translation issue
2022-12-28 05:41:22 +01:00
2d7cadea02
Optimize imports
2022-12-28 05:41:22 +01:00
b4c80fe56a
Make urban command support slash too
2022-12-28 05:41:22 +01:00
60ee5f2ae2
Allow sender to delete their own urban command results
2022-12-28 05:41:22 +01:00
8ca70dac78
Fix urban dictionary term not getting parsed correctly for url
2022-12-28 05:41:22 +01:00
d412801758
Bump version to 0.5.8
2022-12-28 05:41:22 +01:00
4ef42ffa9e
Make urban command support multiple entries
2022-12-28 05:41:22 +01:00
0f54211ecd
Improve urban dictionary parsing
2022-12-28 05:41:22 +01:00
d5664eb646
Improve urban dictionary parsing
2022-12-28 05:41:22 +01:00
1421d52598
Keep newlines in urban dictionary parser
2022-12-28 05:41:22 +01:00
639c54bc52
Bump version to 0.5.7
2022-12-28 05:41:22 +01:00
28c0f1d750
Implement urban dictionary lookup command
2022-12-28 05:41:22 +01:00
3259a49ace
Change a magic ball response
2022-12-28 05:41:22 +01:00
4d888d68b9
Make it send a message instead of responding to 8ball
2022-12-28 05:41:22 +01:00
7959044335
Bump version to 0.5.6
2022-12-28 05:41:22 +01:00
fb3c08fc41
Add basic love calculator message command
2022-12-28 05:41:22 +01:00
09ec600234
Bump version to 0.5.5
2022-12-28 05:41:22 +01:00
c9ff329cbb
Make magicball support slash commands too
2022-12-28 05:41:22 +01:00
8f4f341aab
Improve magic ball answers
2022-12-28 05:41:22 +01:00
a030821197
Implement magic ball message command
2022-12-28 05:41:22 +01:00
e531eef1d6
Bump version to 0.5.4
2022-12-28 05:41:22 +01:00
b033763704
Improve diceroll looks, implement limits to avoid abuse
2022-12-28 05:41:21 +01:00
982902fc6d
Ignore bots interacting with hideko
2022-12-28 05:41:16 +01:00
00441f089f
Remove unneeded todo
2022-12-28 05:41:11 +01:00
1f6f23e917
Make clear command also delete the sender's message
2022-12-28 05:41:06 +01:00
1e07ede83e
Bump version to 0.5.3
2022-12-28 05:41:01 +01:00
1a8409994c
Implement basic functional diceroll command
2022-12-28 05:40:56 +01:00
b0a1381589
Fix command label being passed as arg in case of no args
2022-12-28 05:40:51 +01:00
9504921f27
Fallback to 0 instead of 1
2022-12-28 05:40:45 +01:00
c9528848bc
Fix console error when int parsing fails in clear message
2022-12-28 05:40:39 +01:00
2d1f6699ba
Re-register accidentally removed invite command
2022-12-28 05:40:34 +01:00
595e81e02c
Bump JDA version to more stable beta
2022-12-28 05:40:28 +01:00
764ff23010
Bump version to 0.5.2
2022-12-28 05:40:23 +01:00
32ea099690
Fix messages with newlines not being handled for commands
2022-12-28 05:40:17 +01:00
1410e4e8af
Make say support both slash and message commands
2022-12-28 05:40:11 +01:00
81e621ec1a
Bump version to 0.5.1
2022-12-28 05:40:01 +01:00
c486630adb
Make avatar support both slash and message commands
2022-12-28 05:37:26 +01:00