[AB-xxx] ignore slash command only commands for message commands

This commit is contained in:
Sheldan
2023-09-26 23:37:04 +02:00
parent a71a448b4b
commit abfd2c9591

View File

@@ -88,6 +88,9 @@ public class CommandManager implements CommandRegistry {
if (commandConfiguration == null) {
return false;
}
if (commandConfiguration.isSlashCommandOnly()) {
return false;
}
if (!commandNameOrAliasMatches(name, commandConfiguration)) {
return false;
}