mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-03-24 05:39:44 +00:00
[AB-63] adding pressF command
fixing not setting the won flag for giveaway participants
This commit is contained in:
@@ -126,7 +126,8 @@ public class CommandManager implements CommandRegistry {
|
||||
}
|
||||
return commandConfiguration
|
||||
.getParameters()
|
||||
.stream().filter(parameter -> isParameterRequired(parameter, serverId))
|
||||
.stream().filter(parameter -> !parameter.getSlashCommandOnly())
|
||||
.filter(parameter -> isParameterRequired(parameter, serverId))
|
||||
.count();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user