Commit Graph
67 Commits
Author SHA1 Message Date
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 4c27b80527 update youtube-source to 1.11.1 2024-12-10 09:06:41 -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 5294cb86ca Merge branch 'feat-tasks' into 'develop'
New feature: tasks

See merge request anthorob/netneutrality!2
2024-09-12 10:50:14 +00:00
anthorob 333d638f94 feat: implement button, modal and emoji tasks 2024-09-12 10:50:14 +00:00
anthorob 4378321c65 build: fix default values in startup script for docker 2024-07-16 21:17:18 -04:00
anthorob 5fb29ea4ed Merge branch 'dev' into 'master'
Release 2.x

See merge request anthorob/netneutrality!1
2024-07-15 02:18:42 +00:00
anthorob 75febb97ea bump: version 2.0.0 → 2.0.1 2024-07-14 22:13:31 -04:00
anthorob 5775493b2c refactor: fix inspection errors for deprecated calls and concatenation 2024-07-14 13:59:38 -04:00
anthorob f6ed32b090 ci: add junit reports in test phase 2024-07-14 13:21:07 -04:00
anthorob bb655d2a56 ci: add cache key 2024-07-14 13:16:04 -04:00
anthorob 9d8b38d309 ci: improve ci config for maven 2024-07-14 13:05:00 -04:00
anthorob 719c55ee27 build: Update JDA to v5 and use v2 for youtube-source 2024-07-14 12:20:35 -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 d298fc77ee docs: Update LICENSE 2024-07-14 11:53:22 -04:00
anthorob 7ad2740a2b refactor: add release to Sentry config 2024-07-14 01:35:08 -04:00
anthorob 9f4b7187b9 build: fix startup script for local execution 2024-07-14 00:58:59 -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 dc4ea8c661 build: fix environment variables in startup script 2024-07-13 23:43:16 -04:00
anthorob 53c3ddb732 fix: bump youtube-source to 1.4.0 2024-07-13 23:25:33 -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 e239be6c9a ci: add commitizen configs and ci scripts 2024-07-13 22:11:17 -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 eb7136d5b9 Add simple script to build bot and update CI image 2024-06-28 20:49:56 -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 278924e7d9 Docker Compose: version is obsolete
Docker Compose: persist logs folder
pom.xml: add commons-io as dependency
2024-05-23 01:31:46 -04:00
anthorob 9aaa2edfa9 Udio: add more logging when track can't be loaded 2024-05-20 23:27:51 -04:00
anthorob e778fa2874 Update pom.xml with new groupId, remove unused plugins and dependencies 2024-05-14 08:52:57 -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
anthorob dd0aa19fcf Add unit test for UdioAudioSourceManager 2024-05-14 04:14:31 -04:00
anthorob 77ef79d28e Update dependencies and logging implementation 2024-05-14 04:01:20 -04:00
anthorob d61d15f36d Remove unused files and add bot version at runtime 2024-05-14 03:45:09 -04:00
anthorob d9481f4d85 Fix queue shuffling where a track was removed on each shuffle 2024-05-11 11:20:52 -04:00
anthorob 8742ecc096 Udio: Fix track loading when lyrics are present in the JSON 2024-05-10 06:53:15 -04:00
anthorob 20d362978c Add MP3 direct link (fix) 2024-05-09 16:24:31 -04:00
anthorob fe70bba689 Add MP3 direct link to allowed sources 2024-05-09 16:17:35 -04:00
anthorob fa93bf6af4 Update docker build process 2024-05-09 15:34:41 -04:00
anthorob f79ab8984a Add Udio music source 2024-05-09 15:32:43 -04:00
anthorob eded9bee00 chmod +x of mvnw 2024-03-30 15:23:12 -04:00
anthorob e6be74ad53 Add more useful logs in reply and use snapshot of lavalink to temporarily fix player issues 2024-03-30 15:14:40 -04:00
anthorob 23108fb2d9 Update dependencies and maven wrapper 2024-03-29 01:29:04 -04:00