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
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
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
...
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
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
b681acdbca
Make bot announce its prefix
continuous-integration/drone/push Build is passing
2022-11-22 21:48:13 +01:00
b2a62d754e
Make invite support both slash and message commands
continuous-integration/drone/push Build is passing
2022-11-22 21:42:35 +01:00
c186c9c576
Improve bot info page
continuous-integration/drone/push Build is passing
2022-11-22 21:32:20 +01:00
c7208eef84
Make botinfo support both slash and message commands
continuous-integration/drone/push Build is passing
2022-11-22 21:02:48 +01:00
4015aecc99
Make coinflip support both slash and message commands
continuous-integration/drone/push Build is passing
2022-11-22 20:50:37 +01:00
ff80e754ff
Add comment
2022-11-22 20:42:47 +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
ecdb0c73e8
Add tiny comment
continuous-integration/drone/push Build is passing
2022-11-22 17:27:56 +01:00
655840dc82
Implement basic permission check for message commands
continuous-integration/drone/push Build is passing
2022-11-22 17:08:31 +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
a9790b3525
Complete message command parser and listener
...
continuous-integration/drone/push Build is passing
The message command listener is now completed and the bot now also supports message-based commands with multiple aliases.
2022-11-22 16:19:08 +01:00
244e8ace76
Remove redundant API command fetcher
...
continuous-integration/drone/push Build is passing
We have our own command listener now, so we don't need to rely on Discord's slow API.
2022-11-22 14:53:46 +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
7ae4790d5c
Add bot owner info to botinfo command
continuous-integration/drone/push Build is passing
2022-11-22 00:45:58 +01:00
51de18206e
Refactor clearchat class
2022-11-22 00:35:10 +01:00
656dff4b26
Refactor packages
continuous-integration/drone/push Build is passing
2022-11-22 00:31:52 +01:00
8faa9c4677
Refactor datasource classes
continuous-integration/drone/push Build is passing
2022-11-22 00:28:33 +01:00
843ee43275
Finish implementing configuration file
...
continuous-integration/drone/push Build is passing
Configuration file is now fully functional.
Startup arguments for bot token and heartbeat key have now been removed.
2022-11-22 00:04:34 +01:00
f74ae43673
Refactor Config class
continuous-integration/drone/push Build is passing
2022-11-21 20:20:11 +01:00
66d27fe1fe
Start implementing config file
2022-11-21 20:04:28 +01:00
da511f2913
Database overhaul to fix #3
...
continuous-integration/drone/push Build is passing
We are now tracking whether messages are sent privately on in a guild, and acting accordingly.
2022-11-21 19:07:34 +01:00
326ad68e38
Add emoji to invite command button
continuous-integration/drone/push Build is passing
2022-11-21 16:24:21 +01:00
b015fddf3c
Make invite command nicer
continuous-integration/drone/push Build is passing
2022-11-21 16:11:16 +01:00
5e4e438340
Make minimal text changes
2022-11-21 15:59:27 +01:00
b35b962ac6
Implement basic say command
continuous-integration/drone/push Build is passing
2022-11-21 15:37:12 +01:00
4382f7d490
Fix issue tracker link
continuous-integration/drone/push Build is passing
2022-11-21 15:17:03 +01:00
24bb560d93
Register help command
continuous-integration/drone/push Build is passing
2022-11-21 15:13:32 +01:00
78d5bd6beb
Make some messages nicer
2022-11-21 15:07:46 +01:00
3ff154eec6
Rename methods
continuous-integration/drone/push Build is passing
2022-11-21 15:04:12 +01:00
e9f475cb59
Refactor code and packages
continuous-integration/drone/push Build is passing
2022-11-21 15:02:40 +01:00
cdc45d62f2
Move uptime string generator to config class
continuous-integration/drone/push Build is passing
2022-11-21 15:00:37 +01:00
996cedb154
Finish botinfo command
...
continuous-integration/drone/push Build is passing
I don't know what else to add, and it looks nice now.
2022-11-21 14:54:45 +01:00
d2caccf080
Finish uptime string generator
2022-11-21 14:44:48 +01:00
79c8f1a95e
Start implementing bot info command
continuous-integration/drone/push Build is failing
2022-11-21 12:19:35 +01:00
083fef3911
Fix expired coinflip channel id bug
continuous-integration/drone/push Build is passing
2022-11-21 11:19:23 +01:00
0da3eecd29
Restrict reflip button to user who ran the command
continuous-integration/drone/push Build is passing
2022-11-21 11:14:07 +01:00
5ee7321978
Implement functional reply tracker
...
Now, with commands that support it, only the user who ran the command/triggered the interaction can use its buttons.
2022-11-21 00:27:57 +01:00