[AB-xxx] fixing custom command alternative to filter when it should be executed more accurately

This commit is contained in:
Sheldan
2023-12-23 23:16:01 +01:00
parent d2231b0934
commit 20a6e29f1b
3 changed files with 13 additions and 5 deletions

View File

@@ -6,6 +6,6 @@ import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Message;
public interface CommandAlternative extends Prioritized {
boolean shouldExecute(UnParsedCommandParameter parameter, Guild guild);
boolean shouldExecute(UnParsedCommandParameter parameter, Guild guild, Message message);
void execute(UnParsedCommandParameter parameter, Message message);
}