Commit graph

19 commits

Author SHA1 Message Date
jmp
7df6917fe4 Added CommandExecutionException which wraps any exception thrown during the execution of command handlers. Should be handled using CommandManager#registerExceptionHandler, similar to NoSuchCommandException, ArgumentParseException, etc. 2020-12-07 20:05:45 +01:00
Alexander Söderberg
cfac2639ad Add errorprone and fix warnings/errors
The compiler will also treat all warnings as errors from now on.
2020-10-24 19:52:44 +02:00
jmp
6ffee9d04f Make changes from PR comments 2020-10-24 19:52:44 +02:00
Alexander Söderberg
da0d586e52 📚 Add missing @Since annotations 2020-10-24 19:52:44 +02:00
Alexander Söderberg
d6ccc1d59b 🧹 Clean up the gradle build scripts a little
Changes:
- Move all dependency versions to a shared file
- Order the projects in settings.gradle
2020-10-24 19:52:44 +02:00
broccolai
f3abbf5958 Fix code style issues in jda 2020-10-24 19:52:44 +02:00
broccolai
c5873e46e6 Deprecate JDACommandManager and add JDA4CommandManager 2020-10-24 19:52:44 +02:00
broccolai
530ecc4f73 Bump JDA version 2020-10-24 19:52:44 +02:00
broccolai
36afe207d7 Change JDACommandListeners sendMessage back to queue instead of complete 2020-10-24 19:52:44 +02:00
broccolai
c0bc1e7523 Fix custom senders on Cloud-JDA
Switches the command sender class to JDACommandSender and allows for it to be constructed with a nullable MessageReceivedEvent allowing for poeple to have backwards mappers
2020-10-24 19:52:44 +02:00
broccolai
433cd88c90 Change UserArgument
Changed list usages to set and made the default builders use the mention parser
2020-10-24 19:52:44 +02:00
jmp
fba29041e6 🎨 Add caption for string "No input was provided" 2020-10-24 19:52:44 +02:00
dependabot[bot]
e993d0e41c ⬆️ Bump JDA from 4.2.0_207 to 4.2.0_210
Bumps JDA from 4.2.0_207 to 4.2.0_210.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-23 22:44:42 +02:00
Josh Taylor
8ebb248a47
JDA improvements (#39) 2020-10-09 13:29:47 +02:00
Alexander Söderberg
2aac3980d5 ♻️ Reformat + Update .editorconfig 2020-10-07 22:47:48 +02:00
Josh Taylor
f1d4529276
Cleanup annotations and remove Cloud Brigs Pair (#32) 2020-10-06 12:40:35 +02:00
JarFiles
90940fafd7 Fixed Code Style issues 2020-10-05 22:43:25 +01:00
JarFiles
e5f9b3d8ca Create custom mapper for permissions
Adds the possibility to specify a custom mapper for command permissions (e.G. for permissions in private messages or if you just don't want to use discord's built-in permission system)
2020-10-05 22:43:25 +01:00
broccolai
212145cc6b Add JDA implementation 2020-10-05 17:48:47 +02:00