This method can't find the mention in the message. So I use ChatEvents.checkMention
Now when the message contains a mention, I have to check every word for a mention, because the markSender method throws exception if there is already a mention.
I understand that the mention system accepts event chat and can't handle text (although why not and why not if a message is eventually returned).
This method can't find the mention in the message. So I use ChatEvents.checkMention
Now when the message contains a mention, I have to check every word for a mention, because the markSender method throws exception if there is already a mention.
I understand that the mention system accepts event chat and can't handle text (although why not and why not if a message is eventually returned).