Commit Graph

81 Commits

Author SHA1 Message Date
407ca279f5 Implement alias command 2022-12-20 17:18:09 +01:00
9eefa4b958 Implement alias command 2022-12-20 17:17:13 +01:00
9278b485d9 Add help command and command categories
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 17:06:18 +01:00
5a2205e567 Remove deprecated and unused private method
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 15:15:03 +01:00
a80b2cc5a9 Make serialization util class
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 15:11:44 +01:00
d087de1d01 Use enum instead of boolean for page switching
All checks were successful
continuous-integration/drone/push Build is passing
This is useless but looks better
2022-12-20 15:09:35 +01:00
99fc980e00 Remove duplication
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 15:04:39 +01:00
2f51f9d40c Optimize imports
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 14:50:09 +01:00
5f5fc8d3a8 Remove duplicated method
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 14:49:44 +01:00
4c98182da7 Fix small emoji translation issue
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 03:44:00 +01:00
9e57a3a426 Optimize imports
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 03:17:32 +01:00
2bf08c27b7 Make urban command support slash too
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 02:17:27 +01:00
b085efeccb Allow sender to delete their own urban command results
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 00:59:26 +01:00
d8604c7ae5 Fix urban dictionary term not getting parsed correctly for url
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 00:52:31 +01:00
dfa25e54f3 Make urban command support multiple entries
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 00:34:49 +01:00
d1dc71dde9 Improve urban dictionary parsing
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 22:53:25 +01:00
6fcd3b4cdf Improve urban dictionary parsing
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 22:45:02 +01:00
deb7d83e64 Keep newlines in urban dictionary parser
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 21:58:57 +01:00
7c2530c88b Implement urban dictionary lookup command
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 21:42:55 +01:00
20665f4862 Change a magic ball response
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 21:03:20 +01:00
ecfa3cded8 Make it send a message instead of responding to 8ball
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 21:00:25 +01:00
90e0c4ddf9 Bump version to 0.5.6
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 20:39:16 +01:00
fd9fe4ead6 Add basic love calculator message command
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 20:38:32 +01:00
3dd30a3a89 Make magicball support slash commands too
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 18:37:17 +01:00
5c8bad2b02 Improve magic ball answers
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 18:28:21 +01:00
b23bc30fc0 Implement magic ball message command
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 18:24:29 +01:00
1a19a9ea06 Improve diceroll looks, implement limits to avoid abuse
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 17:31:28 +01:00
fd100649a7 Remove unneeded todo 2022-12-19 16:48:20 +01:00
b3990ff04f Make clear command also delete the sender's message
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 16:47:49 +01:00
f0ee565185 Implement basic functional diceroll command
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 01:36:43 +01:00
a21d179308 Fix command label being passed as arg in case of no args
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 00:22:51 +01:00
36ad728bbc Fallback to 0 instead of 1
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 00:14:30 +01:00
1a6fe6465c Fix console error when int parsing fails in clear message
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 00:13:14 +01:00
cb49bda84a Make say support both slash and message commands 2022-12-19 00:05:13 +01:00
1447f8c177 Make avatar support both slash and message commands
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-18 23:47:54 +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
5f73c4069b Make bot commands run in separate threads by default
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 21:59:58 +01:00
b681acdbca Make bot announce its prefix
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 21:48:13 +01:00
b2a62d754e Make invite support both slash and message commands
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 21:42:35 +01:00
c186c9c576 Improve bot info page
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 21:32:20 +01:00
c7208eef84 Make botinfo support both slash and message commands
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 21:02:48 +01:00
4015aecc99 Make coinflip support both slash and message commands
All checks were successful
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
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 17:27:56 +01:00
655840dc82 Implement basic permission check for message commands
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 17:08:31 +01:00
11e4a07698 Refactor objects package
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 16:41:08 +01:00
a7ac446b0b Remove the need to register slash commands separately
All checks were successful
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
All checks were successful
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
All checks were successful
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