You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (StringexcludedCommand : CONFIG.generic.excludedCommands) {
if (command.startsWith(excludedCommand + " ") || command == excludedCommand) {
return;
}
}
so that commands that don't have any arguments can also be ignored. Otherwise it's impossible to ignore commands that don't have any agruments, e.g. /list.
The text was updated successfully, but these errors were encountered:
Checks
Description
This increases the flexibility of the
excludedCommands
list, allowing users to set it freely.Inspiration from Discord: (by @Janne252)
The text was updated successfully, but these errors were encountered: