We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 129c477 commit db709c9Copy full SHA for db709c9
src/main/java/oakbot/discord/DiscordBot.java
@@ -109,8 +109,9 @@ void onMessageReceived(MessageReceivedEvent event) {
109
var stream = listeners.stream();
110
111
/*
112
- * Note: If a message only contains 1 word after the mention, it is not
113
- * considered a mention for some reason
+ * Note: When a user is typing out a Discord message, if they manually
+ * type out the mention instead of accepting Discord's auto-complete
114
+ * suggestion, then the mention is not picked up by this code.
115
*/
116
var botMentioned = event.getMessage().getMentions().getUsers().contains(selfUser);
117
if (!botMentioned) {
0 commit comments