ClaptrapBot/src/main/java/net/Broken/Commande.java

19 lines
429 B
Java
Raw Normal View History

2017-03-20 18:44:53 +01:00
package net.Broken;
2016-12-08 20:05:23 +01:00
2017-02-08 23:53:50 +01:00
2016-12-08 20:05:23 +01:00
import net.dv8tion.jda.core.events.message.MessageReceivedEvent;
/**
* Created by seb65 on 19/10/2016.
*/
public interface Commande {
boolean called(String[] args, MessageReceivedEvent event);
void action(String[] args, MessageReceivedEvent event);
void executed(boolean success, MessageReceivedEvent event);
2017-09-05 02:13:27 +02:00
boolean isPrivateUsable();
2018-02-23 19:17:23 +01:00
boolean isAdminCmd();
2018-02-27 15:17:00 +01:00
boolean isNSFW();
2016-12-08 20:05:23 +01:00
}