1a19a9ea06
Improve diceroll looks, implement limits to avoid abuse
continuous-integration/drone/push Build is passing
2022-12-19 17:31:28 +01:00
5f73c4069b
Make bot commands run in separate threads by default
continuous-integration/drone/push Build is passing
2022-11-22 21:59:58 +01:00
3f1835e059
Move clearchat command to base class
...
continuous-integration/drone/push Build is passing
The "clear" command now supports both slash commands and message commands, having identical behavior in both situations.
2022-11-22 20:39:55 +01:00
11e4a07698
Refactor objects package
continuous-integration/drone/push Build is passing
2022-11-22 16:41:08 +01:00
a7ac446b0b
Remove the need to register slash commands separately
...
continuous-integration/drone/push Build is passing
We modified the slash command interface to allow getting command data, and created a generic implementation of it that automatically retrieves data from the command data. The interface should not be used now. Instead, extending the implementation is preferred as it provides a semi-working command already.
2022-11-22 16:40:02 +01:00
882c695484
Make slash commands interface and load them dynamically
...
continuous-integration/drone/push Build is passing
Slash commands are now loaded dynamically by implementing a SlashCommand interface and storing them in a loaded commands map.
2022-11-22 14:32:22 +01:00
51de18206e
Refactor clearchat class
2022-11-22 00:35:10 +01:00