Commit Graph

72 Commits

Author SHA1 Message Date
c63bafc88e Start implementing trivia command
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-21 02:50:22 +01:00
54022221a0 Make dice roll support slash commands too
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 23:03:21 +01:00
0bd63e76bd Rename method
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 22:49:20 +01:00
d49fe3ee15 Cache love calculator results in RAM
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 22:48:29 +01:00
5e48652587 Make love calculator also support slash commands
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 22:32:40 +01:00
6ffe10e4c8 Optimize imports 2022-12-20 22:24:34 +01:00
0f54fe856e Increase randomness by updating the random's seed every minute
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 22:15:52 +01:00
e5c5993fb2 Make random statuses update automatically
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 22:08:05 +01:00
72f9bb4eb5 Make command category not null
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 17:18:24 +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
dead16f338 Merge two classes
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 14:51:29 +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
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
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
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
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
f0004dc555 Re-register accidentally removed invite command
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 00:10:15 +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
ff084cf8e8 Rename datasource package
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 23:44:34 +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
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
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
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
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
882c695484 Make slash commands interface and load them dynamically
All checks were successful
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
d3db53a451 Cleanup imports 2022-11-22 00:34:37 +01:00
656dff4b26 Refactor packages
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 00:31:52 +01:00
8faa9c4677 Refactor datasource classes
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 00:28:33 +01:00
843ee43275 Finish implementing configuration file
All checks were successful
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
b6bf366822 Allow reading values from config
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 23:36:42 +01:00
c650caa090 Finish configuration init method
All checks were successful
continuous-integration/drone/push Build is passing
This method runs every time the bot starts, and ensures that all values are always present in the config file.
2022-11-21 23:28:33 +01:00
f74ae43673 Refactor Config class
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 20:20:11 +01:00
a5ddbf0d2e Implement heartbeat for uptime monitoring
All checks were successful
continuous-integration/drone/push Build is passing
You can now monitor the bot's uptime via any external tool that supports push heartbeats. The bots sends a GET request every 30 seconds to show that it's online. The URL is hardcoded for the moment, but very easy to change.
2022-11-21 19:54:49 +01:00
163619a7f8 Improve registered commands caching
All checks were successful
continuous-integration/drone/push Build is passing
Discord's API is slow in updating and registering new commands, so we set up a runnable to periodically check.
2022-11-21 16:24:09 +01:00
e9f475cb59 Refactor code and packages
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 15:02:40 +01:00
79c8f1a95e Start implementing bot info command
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-21 12:19:35 +01:00
f73b489844 Bump version
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 11:15:23 +01:00
97980f8ed9 Bump version
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 00:28:51 +01:00
98a162a33b Implement SQLite database solving #1
All checks were successful
continuous-integration/drone/push Build is passing
A new basic database has been laid out, with support for message expiry and disabling buttons for old messages.
2022-11-21 00:14:13 +01:00
3d626bb46f Move command handling out of constructor, add coin reflip command
All checks were successful
continuous-integration/drone/push Build is passing
Having heavy code run in a constructor is bad practice. We made separate methods for command handling.
2022-11-20 22:09:58 +01:00
913e8e023a Refactor command packages
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-20 18:56:57 +01:00
3474593dc9 Implement command force-refresh arg
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-20 18:54:13 +01:00
33d81acc64 Improve internal documentation
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-20 18:11:00 +01:00
18db0282d5 Implement invite link command
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-20 16:07:04 +01:00
b14850acaa Bump bot version
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-20 06:15:14 +01:00