Commit Graph

180 Commits

Author SHA1 Message Date
e08fefbda3 Fix spacing 2022-12-28 05:41:22 +01:00
6c4d362ca4 Improve default responses 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
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
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
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
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
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
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
c486630adb Make avatar support both slash and message commands 2022-12-28 05:37:26 +01:00
50ccda214f Finish command completion listener implementation
All checks were successful
continuous-integration/drone/push Build is passing
Very similarly to how the slash command interface works, now a slash command auto-completion interface also exists, with its respective listener.
2022-11-23 00:01:05 +01:00
ff084cf8e8 Rename datasource package
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 23:44:34 +01:00
0016b5de30 Force using config enum class instead of direct entry path
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 23:42:21 +01:00
6480795368 Discontinue config.yml file in favor of class mapping
All checks were successful
continuous-integration/drone/push Build is passing
The configuration entries are now mapped in an enum that transfers very well to SnakeYaml's YAML parsing. This is better because we no longer run the risk of entries getting mistyped in classes, or renamed without replacing them everywhere...
2022-11-22 23:40:44 +01:00
40aac28e34 Make bot version consistent with Maven
All checks were successful
continuous-integration/drone/push Build is passing
A new internal properties file has been added. Maven will scan this file and replace any value it finds.
2022-11-22 23:28:59 +01:00
70578d2ffc Bump version to 0.4.0
All checks were successful
continuous-integration/drone/push Build is passing
The new thread update deserves a decent version bump
2022-11-22 22:00:59 +01:00