Expected: message.content and 'command' logged when <command typed in chat and message.content logged for other messages
Actual: onMessage is never called and message.content is never logged
The command doesn't need to be defined in the same class; @Command annotations anywhere immediately break all other @On('message') annotations in the project.
Version 4.0.6 Adding a
message
event listener works as expected:But when a
Command
is defined, allmessage
event listeners breakExpected:
message.content
and'command'
logged when<command
typed in chat andmessage.content
logged for other messages Actual:onMessage
is never called andmessage.content
is never loggedThe command doesn't need to be defined in the same class;
@Command
annotations anywhere immediately break all other@On('message')
annotations in the project.