Commit Graph
199 Commits
Author SHA1 Message Date
anthorob 3466fb536d finish abstraction for StepTask 2025-03-09 15:29:43 -04:00
anthorob 80104d3e9a update youtube-source to latest version 2025-02-27 04:35:01 -05:00
anthorob daac16ea47 fix udio source 2025-02-14 05:47:58 -05:00
anthorob e07c172a21 compile error whoops 2025-02-14 05:44:47 -05:00
anthorob 6429e42384 Bunch of improvements to tasks and DB logic
Use locks when executing tasks
Decouple GuildManager into services
Add more logging when failing to load a persistable task
Add ping method to WebModule
Improve Task interface and implementations
Start work on step tasks
2025-02-14 05:43:49 -05:00
anthorob fb872f2b0b change how events are handled by using a single class to register listeners onto 2024-12-31 20:45:16 -05:00
anthorob 6a869afb1d Add request caching on the WebModule 2024-12-24 09:03:31 -05:00
anthorob 88fa8aac23 add option constraints for some commands 2024-12-24 08:46:32 -05:00
anthorob 29eecd42a9 fix(MessageCommandContext): missing check for channel when option is of type STRING 2024-12-21 21:12:28 -05:00
anthorob b15ed9d577 better parsing for boolean options 2024-12-19 12:03:16 -05:00
anthorob 04bdb75087 show available choices, types, maximum and minimum length in command help message 2024-12-19 01:28:40 -05:00
anthorob 96e31a19ec fix: add missing checks for command usage 2024-12-18 11:44:23 -05:00
anthorob 9861fac769 use string chunking for method replyEphemeral(String) 2024-12-17 12:17:40 -05:00
anthorob 8479f719ab change package of core command classes so it makes more sense and rename getType() to getCategory() in command interface 2024-12-17 12:15:24 -05:00
anthorob 3314ef6bea Add unique ID for each context 2024-12-14 01:07:24 -05:00
anthorob 50430589e6 Add isSlashCommandOnly to command interface 2024-12-14 00:59:50 -05:00
anthorob 6b453bb7e2 Remove String.format() overload in Context 2024-12-12 21:22:11 -05:00
anthorob bae37fc8b1 Fixed message commands where a null optionnal argument was being parsed when it shouldn't be 2024-12-12 21:17:15 -05:00
anthorob 2afab8f1f5 Create abstraction to combine slash commands and message commands
Usage and options checking (arguments count, type checking)
Options parsing for message commands (both types of commands are now registered like slash commands and the abstraction will handle the parsing of all options as if it was a slash command)
Refactor of the help command for better readability and more helpful text, which is now based on the available options of a command
2024-12-11 04:00:55 -05:00
anthorob e6afe6e4c1 Implement built-in tasks, improve message commands with arguments, fix command context in DM, better help message 2024-11-21 01:33:55 -05:00
anthorob e0ef3f9915 Add getInteractionHook to InteractionContext abstraction 2024-11-20 04:43:04 -05:00
anthorob 6f2ba795d4 Improve cleanup for music player, fix resume logic, check if player is connected before checking url, refactor context 2024-11-16 03:14:23 -05:00
anthorob bcf78920e9 fix(MusicManager): missing checks and reworked logic of who is the DJ
DJ is now the first user who makes the bot connect to a voice channel and doesn't change until the voice channel changes
2024-10-09 12:27:41 -04:00
anthorob 0ccc2d5e9c fix(Udio): update html tag 2024-10-06 00:45:41 -04:00
anthorob 508c7acc67 build: switch to junit 5 2024-10-05 13:35:36 -04:00
anthorob 8be0f94b3e refactor(MusicManager): load track before connecting to voice channel 2024-10-05 13:31:41 -04:00
anthorob 5baa69ffe9 refactor: move db logic for tasks into service 2024-10-05 10:15:06 -04:00
anthorob 5a8e606a89 fix(CommandProcessor): missing guild check and if command exists before execution 2024-10-05 10:13:21 -04:00
anthorob 9ee4797aaf refactor: move db actions into repositories 2024-10-03 09:48:43 -04:00
anthorob 333d638f94 feat: implement button, modal and emoji tasks 2024-09-12 10:50:14 +00:00
anthorob 5775493b2c refactor: fix inspection errors for deprecated calls and concatenation 2024-07-14 13:59:38 -04:00
anthorob ad00a6b542 refactor: Remove unused command 2024-07-14 12:16:29 -04:00
anthorob a9ddfa8b63 Merge branch 'master' into 'dev'
# Conflicts:
#   LICENSE
2024-07-14 15:57:47 +00:00
anthorob 7ad2740a2b refactor: add release to Sentry config 2024-07-14 01:35:08 -04:00
anthorob 2aa75ce0fc refactor: remove convoluted TrackLoader and LoadableSongs abstraction
BREAKING CHANGE: removed TrackLoader amd LoadableSongs
2024-07-14 00:28:44 -04:00
anthorob 0db751af44 refactor(LogHandler): use the exception itself instead of a string for buildSentryErrorMessage 2024-07-14 00:12:14 -04:00
anthorob aba0441021 fix: fix relection package to new path 2024-07-14 00:00:42 -04:00
anthorob 2099c1753a fix: fix wrongly named environment variables 2024-07-13 23:55:21 -04:00
anthorob f4c7e9c703 refactor: change package path to reflect group id of pom.xml
BREAKING CHANGE:
2024-07-13 23:10:06 -04:00
anthorob 2b08351f6d feat(Settings): add helpers to get version number of bot 2024-07-13 22:24:07 -04:00
anthorob f3d11a5f98 Changed properties name and update build process 2024-07-11 21:07:47 -04:00
anthorob f51ae465bd change how properties file is loaded and rely on environment variables if it doesn't exist 2024-07-10 20:28:28 -04:00
anthorob 0b1c326f40 Udio: update test case 2024-07-01 02:42:51 -04:00
anthorob 7b2098a27d Udio: fix wrong artwork url 2024-06-28 20:49:02 -04:00
anthorob b392d892ad Udio: fix json extraction from updated webpage and add artwork url to audio track 2024-06-26 00:05:07 -04:00
anthorob 1ced46e075 Remove obsolete PurgeCommand 2024-06-25 23:50:32 -04:00
anthorob 47e8332931 Implement command results in execute function 2024-06-25 23:49:58 -04:00
anthorob 9aaa2edfa9 Udio: add more logging when track can't be loaded 2024-05-20 23:27:51 -04:00
anthorob 70a4cad11a Clean up the imports, add Readme and change license to Apache 2024-05-14 08:08:18 -04:00
anthorob 0070e3f5bb Use new youtube audio source 2024-05-14 04:21:18 -04:00