33 Commits

Author SHA1 Message Date
e51646ace4 simplify method 2025-03-09 00:14:07 +01:00
6b97e0bb7e Remove unused variable
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-15 04:39:59 +01:00
4df2429b09 Move random methods to random util class, fix footer
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-15 04:34:39 +01:00
d7aa5d75eb Implement random.org API integration with random seed updater
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-15 04:26:06 +01:00
b81a7e65d2 Disable random seed update because SecureRandom is self-seeding with a better algorithm
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-15 03:34:34 +01:00
4c653fc93c Complete moving to SFL4J
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-15 02:05:23 +01:00
6bbaf3fe7e Deprecate logger and start moving to SLF4J
All checks were successful
continuous-integration/drone/push Build is passing
JDA already has SLF4J as a requirement, so we might as well use that instead of making our own.
2023-01-15 01:48:56 +01:00
7f7ada9b9e Fix minetest's name in random statuses 2022-12-28 05:41:23 +01:00
47bd16fd13 Fix missing JSON dependency 2022-12-28 05:41:23 +01:00
50196bb8f9 Make trivia support slash commands too 2022-12-28 05:41:23 +01:00
26f1c880ea Handle trivia edge cases without hanging 2022-12-28 05:41:23 +01:00
1c19f3c07f Implement trivia welcome screen with category picker 2022-12-28 05:41:23 +01:00
96f298b654 Make trivia have a functional scoreboard 2022-12-28 05:41:23 +01:00
48fdb32e15 Make trivia functional 2022-12-28 05:41:23 +01:00
eb93362d16 Add emojis to trivia buttons 2022-12-28 05:41:23 +01:00
9f147cee65 Make trivia announce correct answer 2022-12-28 05:41:23 +01:00
c9082e84cc Make trivia loop through all questions 2022-12-28 05:41:23 +01:00
0be4389448 Disable trivia in dms 2022-12-28 05:41:23 +01:00
78f62b5f8d Make trivia functional for a single question 2022-12-28 05:41:23 +01:00
ba64c02049 Increase randomness by updating the random's seed every minute 2022-12-28 05:41:23 +01:00
9e1888611a Make random statuses update automatically 2022-12-28 05:41:23 +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
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
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
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
f9e1578899 Fix heartbeat error not always being logged
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 00:12:24 +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
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
da511f2913 Database overhaul to fix #3
All checks were successful
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
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