Describe the bug
Verbose logging fires incorrectly and logs messages about methods not being annotated, even though they are annotated.
To Reproduce
Steps to reproduce the behavior:
- Create a slash command class
public class Ping {
@HandleSlash(name = "ping", desc = "Ping the bot")
public static void pingCommand(SlashCommandCreateEvent event) {
event
.getSlashCommandInteraction()
.createImmediateResponder()
.setContent("Pong!")
.respond();
}
}
- Enable verbose logging in KCommando configuration.
- Annotate with
HandleSlash
- Execute the project
- See
The skipped methods at bot_test.commands.slash.Ping: (They don't have any appropriate annotation)
Expected behavior
It shouldn't log this message unless it is wrong. (Not annotated)
Versions
Your current JDA, Reflections8 and KCommando versions.
Javacord 3.8.0
KCommando 5.1.0
Reflections8: N/A
Describe the bug
Verbose logging fires incorrectly and logs messages about methods not being annotated, even though they are annotated.
To Reproduce
Steps to reproduce the behavior:
HandleSlashThe skipped methods at bot_test.commands.slash.Ping: (They don't have any appropriate annotation)Expected behavior
It shouldn't log this message unless it is wrong. (Not annotated)
Versions
Your current JDA, Reflections8 and KCommando versions.
Javacord 3.8.0
KCommando 5.1.0
Reflections8: N/A