I don't know if this is intended, but we cannot interact with bot in private messages, because JDAHandler registers condition that always calls JDAActor#checkinGuild(ExecutableCommand)
Also @GuildOnly annotation stays unused anywhere in jda module, so I decided to check if command has @GuildOnly annotation, and after that call JDAActor#checkinGuild(ExecutableCommand) rather that blindly calling this method.
I don't know if this is intended, but we cannot interact with bot in private messages, because JDAHandler registers condition that always calls
JDAActor#checkinGuild(ExecutableCommand)
Also
@GuildOnly
annotation stays unused anywhere in jda module, so I decided to check if command has@GuildOnly
annotation, and after that callJDAActor#checkinGuild(ExecutableCommand)
rather that blindly calling this method.Have a nice day!