bea
0cc30ddf29
Implement MessageRespone base functions
continuous-integration/drone/push Build is passing
2023-01-15 05:29:57 +01:00
bea
b55a27fdfb
Optimize regex expressions
continuous-integration/drone/push Build is passing
2023-01-15 05:22:22 +01:00
bea
ee4c5155fa
Improve exception handling
continuous-integration/drone/push Build is passing
2023-01-15 05:00:44 +01:00
bea
d2abeb35fc
Implement various null checks
continuous-integration/drone/push Build is passing
2023-01-15 04:51:30 +01:00
bea
546eb49144
Add empty line to logo
continuous-integration/drone/push Build is passing
2023-01-15 04:42:43 +01:00
bea
6b97e0bb7e
Remove unused variable
continuous-integration/drone/push Build is passing
2023-01-15 04:39:59 +01:00
bea
4df2429b09
Move random methods to random util class, fix footer
continuous-integration/drone/push Build is passing
2023-01-15 04:34:39 +01:00
bea
7de23d8207
Bump version to 0.5.17
continuous-integration/drone/push Build is passing
2023-01-15 04:26:43 +01:00
bea
d7aa5d75eb
Implement random.org API integration with random seed updater
continuous-integration/drone/push Build is passing
2023-01-15 04:26:06 +01:00
bea
b81a7e65d2
Disable random seed update because SecureRandom is self-seeding with a better algorithm
continuous-integration/drone/push Build is passing
2023-01-15 03:34:34 +01:00
bea
14d2505dac
Use Java 15's new text blocks for Unicode logo
...
continuous-integration/drone/push Build is passing
Looks way better than String concatenation
2023-01-15 02:13:35 +01:00
bea
528940a9d1
Disable JavaDoc generation in DroneCI pipeline
continuous-integration/drone/push Build is passing
2023-01-15 02:06:57 +01:00
bea
4c653fc93c
Complete moving to SFL4J
continuous-integration/drone/push Build is passing
2023-01-15 02:05:23 +01:00
bea
6bbaf3fe7e
Deprecate logger and start moving to SLF4J
...
continuous-integration/drone/push Build is passing
JDA already has SLF4J as a requirement, so we might as well use that instead of making our own.
2023-01-15 01:48:56 +01:00
bea
95b4f81235
Switch to SecureRandom class
continuous-integration/drone/push Build is passing
2023-01-15 01:07:31 +01:00
bea
dee00e6814
Update badges
continuous-integration/drone/push Build is passing
2023-01-15 01:04:55 +01:00
bea
d6ef0da167
Make multiple small improvements
continuous-integration/drone/push Build is passing
2023-01-15 01:00:44 +01:00
bea
fb752fb9a9
Fix code style error
continuous-integration/drone/push Build is passing
2023-01-15 00:40:19 +01:00
bea
0d862da9ec
Update badges in readme
continuous-integration/drone/push Build is passing
2023-01-15 00:08:31 +01:00
bea
57a5972d59
Add badges to readme
continuous-integration/drone/push Build is passing
2023-01-15 00:07:07 +01:00
bea
374f979ae3
Fix synchronized mismatch
continuous-integration/drone/push Build is passing
2023-01-14 23:52:12 +01:00
bea
53abab6bf3
Update DroneCI config
continuous-integration/drone/push Build is passing
2023-01-14 23:49:20 +01:00
bea
5591b8abab
Make method synchronized
continuous-integration/drone/push Build is passing
2023-01-14 23:30:57 +01:00
bea
5afb398299
Update DroneCI config
2023-01-14 23:27:50 +01:00
bea
0d8c3e2be3
Implement SonarQube support
continuous-integration/drone/push Build is failing
2023-01-14 21:49:47 +01:00
bea
818a25346b
Optimize imports
continuous-integration/drone/push Build is passing
2023-01-14 20:22:37 +01:00
bea
28286f5389
Fix date parser
continuous-integration/drone/push Build is passing
2023-01-14 20:20:59 +01:00
bea
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
bea
3bd09d2867
Update a small comment
2022-12-28 05:41:24 +01:00
bea
c077b92f93
Update 'README.MD'
2022-12-28 05:41:24 +01:00
bea
ecff77867c
Update 'README.MD'
2022-12-28 05:41:24 +01:00
bea
5e4e79d505
Bump version to 0.5.16
2022-12-28 05:41:24 +01:00
bea
e1c22ac059
Implement ban, kick, timeout slash commands
2022-12-28 05:41:24 +01:00
bea
3676e9d5ad
Make trivia command defer reply
2022-12-28 05:41:24 +01:00
bea
5acd900857
Rework time parsing utils
2022-12-28 05:41:24 +01:00
bea
d2f00c781e
Implement basic timeout command
2022-12-28 05:41:24 +01:00
bea
35b2c8fb42
Implement basic ban command
2022-12-28 05:41:23 +01:00
bea
420666eab1
Implement basic kick command
2022-12-28 05:41:23 +01:00
bea
52fe279f35
Add bot age info
2022-12-28 05:41:23 +01:00
bea
7ac72f9e38
Bump version to 0.5.15
2022-12-28 05:41:23 +01:00
bea
00c46c1396
Implement profile banner grabber command
2022-12-28 05:41:23 +01:00
bea
7f7ada9b9e
Fix minetest's name in random statuses
2022-12-28 05:41:23 +01:00
bea
47bd16fd13
Fix missing JSON dependency
2022-12-28 05:41:23 +01:00
bea
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
bea
50196bb8f9
Make trivia support slash commands too
2022-12-28 05:41:23 +01:00
bea
26f1c880ea
Handle trivia edge cases without hanging
2022-12-28 05:41:23 +01:00
bea
09c53c07a1
Bump version to 0.5.14
2022-12-28 05:41:23 +01:00
bea
1c19f3c07f
Implement trivia welcome screen with category picker
2022-12-28 05:41:23 +01:00
bea
d4c3afbddd
Bump version to 0.5.13
2022-12-28 05:41:23 +01:00
bea
96f298b654
Make trivia have a functional scoreboard
2022-12-28 05:41:23 +01:00
bea
48fdb32e15
Make trivia functional
2022-12-28 05:41:23 +01:00
bea
eb93362d16
Add emojis to trivia buttons
2022-12-28 05:41:23 +01:00
bea
9f147cee65
Make trivia announce correct answer
2022-12-28 05:41:23 +01:00
bea
b0d234a454
Raise trivia timeout to 15s
2022-12-28 05:41:23 +01:00
bea
c9082e84cc
Make trivia loop through all questions
2022-12-28 05:41:23 +01:00
bea
0be4389448
Disable trivia in dms
2022-12-28 05:41:23 +01:00
bea
c1059bb937
Raise interaction expiration time to 30s
2022-12-28 05:41:23 +01:00
bea
78f62b5f8d
Make trivia functional for a single question
2022-12-28 05:41:23 +01:00
bea
3a8a44adf0
Only fetch multiple-answer trivia for now
2022-12-28 05:41:23 +01:00
bea
cfa7aef333
Fix build errors
2022-12-28 05:41:23 +01:00
bea
0e256e4cb5
Remove unneeded methods from MessageResponse
2022-12-28 05:41:23 +01:00
bea
b0622f36aa
Start implementing trivia command
2022-12-28 05:41:23 +01:00
bea
e451f59199
Remove double space on urban footer
2022-12-28 05:41:23 +01:00
bea
f3cc9a2d75
Add emojis to urban dictionary
2022-12-28 05:41:23 +01:00
bea
8f5c29aa95
Convert message response to immutable record
2022-12-28 05:41:23 +01:00
bea
df1e2426e3
Bump version to 0.5.12
2022-12-28 05:41:23 +01:00
bea
91261f04e5
Make dice roll support slash commands too
2022-12-28 05:41:23 +01:00
bea
bc0463dd38
Add a MessageResponse class for mixed-type content
2022-12-28 05:41:23 +01:00
bea
161c91b45d
Rename method
2022-12-28 05:41:23 +01:00
bea
d09c59996b
Cache love calculator results in RAM
2022-12-28 05:41:23 +01:00
bea
1c82d2b53b
Make love calculator also support slash commands
2022-12-28 05:41:23 +01:00
bea
174b78704f
Optimize imports
2022-12-28 05:41:23 +01:00
bea
ba64c02049
Increase randomness by updating the random's seed every minute
2022-12-28 05:41:23 +01:00
bea
264a94fe0d
Bump version to 0.5.11
2022-12-28 05:41:23 +01:00
bea
9e1888611a
Make random statuses update automatically
2022-12-28 05:41:23 +01:00
bea
b1b62bab9f
Fix invite command being categorized as fun
2022-12-28 05:41:23 +01:00
bea
de34caa513
Improve help command title
2022-12-28 05:41:23 +01:00
bea
215e597a4d
Make permissions bold instead of code-wrapped
2022-12-28 05:41:23 +01:00
bea
217022faca
Bump version to 0.5.10
2022-12-28 05:41:23 +01:00
bea
34c100acde
Fix nothing being rolles if no arg was specified
2022-12-28 05:41:22 +01:00
bea
496304c2c3
Make help command use descriptions and usages
2022-12-28 05:41:22 +01:00
bea
e08fefbda3
Fix spacing
2022-12-28 05:41:22 +01:00
bea
6c4d362ca4
Improve default responses
2022-12-28 05:41:22 +01:00
bea
0e1a7d3459
Bump version to 0.5.9
2022-12-28 05:41:22 +01:00
bea
e2c84f62c3
Make command category not null
2022-12-28 05:41:22 +01:00
bea
b20fb73371
Implement alias command
2022-12-28 05:41:22 +01:00
bea
61745c36d0
Implement alias command
2022-12-28 05:41:22 +01:00
bea
480b8b5eda
Add help command and command categories
2022-12-28 05:41:22 +01:00
bea
f9fe12a248
Remove deprecated and unused private method
2022-12-28 05:41:22 +01:00
bea
28d7ff18ba
Throw exception in case of serialization issue
2022-12-28 05:41:22 +01:00
bea
1644a4b07d
Make serialization util class
2022-12-28 05:41:22 +01:00
bea
68dceaff13
Use enum instead of boolean for page switching
...
This is useless but looks better
2022-12-28 05:41:22 +01:00
bea
7dcdf9dbde
Remove duplication
2022-12-28 05:41:22 +01:00
bea
c4d81fb0e4
Add javadoc comment
2022-12-28 05:41:22 +01:00
bea
24a55e14fd
Merge two classes
2022-12-28 05:41:22 +01:00
bea
cce57b8108
Optimize imports
2022-12-28 05:41:22 +01:00
bea
fc846fa901
Remove duplicated method
2022-12-28 05:41:22 +01:00
bea
4476dd2f7b
Fix small emoji translation issue
2022-12-28 05:41:22 +01:00
bea
2d7cadea02
Optimize imports
2022-12-28 05:41:22 +01:00
bea
b4c80fe56a
Make urban command support slash too
2022-12-28 05:41:22 +01:00