mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-25 11:22:06 +00:00
[AB-xxx] ignore slash command only commands for message commands
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user