c63bafc88e
Start implementing trivia command
continuous-integration/drone/push Build is passing
2022-12-21 02:50:22 +01:00
54022221a0
Make dice roll support slash commands too
continuous-integration/drone/push Build is passing
2022-12-20 23:03:21 +01:00
0bd63e76bd
Rename method
continuous-integration/drone/push Build is passing
2022-12-20 22:49:20 +01:00
d49fe3ee15
Cache love calculator results in RAM
continuous-integration/drone/push Build is passing
2022-12-20 22:48:29 +01:00
5e48652587
Make love calculator also support slash commands
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
continuous-integration/drone/push Build is passing
2022-12-20 22:15:52 +01:00
e5c5993fb2
Make random statuses update automatically
continuous-integration/drone/push Build is passing
2022-12-20 22:08:05 +01:00
72f9bb4eb5
Make command category not null
continuous-integration/drone/push Build is passing
2022-12-20 17:18:24 +01:00
9278b485d9
Add help command and command categories
continuous-integration/drone/push Build is passing
2022-12-20 17:06:18 +01:00
dead16f338
Merge two classes
continuous-integration/drone/push Build is passing
2022-12-20 14:51:29 +01:00
2bf08c27b7
Make urban command support slash too
continuous-integration/drone/push Build is passing
2022-12-20 02:17:27 +01:00
7c2530c88b
Implement urban dictionary lookup command
continuous-integration/drone/push Build is passing
2022-12-19 21:42:55 +01:00
fd9fe4ead6
Add basic love calculator message command
continuous-integration/drone/push Build is passing
2022-12-19 20:38:32 +01:00
3dd30a3a89
Make magicball support slash commands too
continuous-integration/drone/push Build is passing
2022-12-19 18:37:17 +01:00
b23bc30fc0
Implement magic ball message command
continuous-integration/drone/push Build is passing
2022-12-19 18:24:29 +01:00
f0ee565185
Implement basic functional diceroll command
continuous-integration/drone/push Build is passing
2022-12-19 01:36:43 +01:00
f0004dc555
Re-register accidentally removed invite command
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
continuous-integration/drone/push Build is passing
2022-12-18 23:47:54 +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
ff084cf8e8
Rename datasource package
continuous-integration/drone/push Build is passing
2022-11-22 23:44:34 +01:00
40aac28e34
Make bot version consistent with Maven
...
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
continuous-integration/drone/push Build is passing
2022-11-22 21:42:35 +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
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
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
d3db53a451
Cleanup imports
2022-11-22 00:34:37 +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
b6bf366822
Allow reading values from config
continuous-integration/drone/push Build is passing
2022-11-21 23:36:42 +01:00
c650caa090
Finish configuration init method
...
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
continuous-integration/drone/push Build is passing
2022-11-21 20:20:11 +01:00
a5ddbf0d2e
Implement heartbeat for uptime monitoring
...
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
...
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
continuous-integration/drone/push Build is passing
2022-11-21 15:02:40 +01:00
79c8f1a95e
Start implementing bot info command
continuous-integration/drone/push Build is failing
2022-11-21 12:19:35 +01:00
f73b489844
Bump version
continuous-integration/drone/push Build is passing
2022-11-21 11:15:23 +01:00
97980f8ed9
Bump version
continuous-integration/drone/push Build is passing
2022-11-21 00:28:51 +01:00
98a162a33b
Implement SQLite database solving #1
...
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
...
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
continuous-integration/drone/push Build is passing
2022-11-20 18:56:57 +01:00
3474593dc9
Implement command force-refresh arg
continuous-integration/drone/push Build is passing
2022-11-20 18:54:13 +01:00
33d81acc64
Improve internal documentation
continuous-integration/drone/push Build is passing
2022-11-20 18:11:00 +01:00
18db0282d5
Implement invite link command
continuous-integration/drone/push Build is passing
2022-11-20 16:07:04 +01:00
b14850acaa
Bump bot version
continuous-integration/drone/push Build is passing
2022-11-20 06:15:14 +01:00