Interface SlashCommandCreateListener
-
- All Superinterfaces:
GloballyAttachableListener,ObjectAttachableListener,PrivateChannelAttachableListener,ServerAttachableListener,ServerTextChannelAttachableListener,TextChannelAttachableListener,UserAttachableListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SlashCommandCreateListener extends ServerAttachableListener, UserAttachableListener, TextChannelAttachableListener, GloballyAttachableListener, ObjectAttachableListener
This listener listens to slash command interaction creations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonSlashCommandCreate(SlashCommandCreateEvent event)This method is called every time an interaction is created.
-
-
-
Method Detail
-
onSlashCommandCreate
void onSlashCommandCreate(SlashCommandCreateEvent event)
This method is called every time an interaction is created.- Parameters:
event- The event.
-
-