-
-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedpriority: low
Description
Sometimes people write messages like
.toString()
Currently, SlashCommandEducator picks that up and thinks it is a command, for example .close. In this case, it is obviously a false positive.
To prevent this, we should additionally check whether the message ends with ). If so, we can just ignore it. Just adding the check here in SlashCommandEducator.java:
And additionally adding ".toString()" to the tests in SlashCommandEducatorTest.java here:
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedpriority: low

