mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2025-05-15 09:29:05 +08:00
24 lines
470 B
Java
24 lines
470 B
Java
|
package cc.sukazyo.cono.morny.bot.command;
|
||
|
|
||
|
import cc.sukazyo.untitled.util.telegram.object.InputCommand;
|
||
|
import com.pengrad.telegrambot.model.Update;
|
||
|
|
||
|
import javax.annotation.Nonnull;
|
||
|
import javax.annotation.Nullable;
|
||
|
|
||
|
public interface ITelegramCommand {
|
||
|
|
||
|
@Nonnull
|
||
|
String getName();
|
||
|
|
||
|
@Nullable
|
||
|
String[] getAliases();
|
||
|
@Nonnull
|
||
|
String getParamRule();
|
||
|
@Nonnull
|
||
|
String getDescription();
|
||
|
|
||
|
void execute (@Nonnull InputCommand command, @Nonnull Update event);
|
||
|
|
||
|
}
|