Package dev.sympho.bot_utils.event
Interface SlashCommandEventContext
- All Superinterfaces:
AccessContext,AccessValidator,ApplicationCommandEventContext,ChannelAccessContext,ChannelAccessValidator,ChannelEventContext,DeferrableInteractionEventContext,EventContext,InteractionEventContext,RepliableContext
The context of a slash command interaction.
- Since:
- 1.0
- Version:
- 1.0
-
Method Summary
Methods inherited from interface dev.sympho.bot_utils.access.AccessContext
asGuild, isPrivateMethods inherited from interface dev.sympho.bot_utils.access.ChannelAccessContext
asUserMethods inherited from interface dev.sympho.bot_utils.event.ChannelEventContext
belongs, belongs, belongs, belongs, hasAccess, hasAccess, validate, validatorMethods inherited from interface dev.sympho.bot_utils.event.EventContext
client, validateMethods inherited from interface dev.sympho.bot_utils.event.InteractionEventContext
channel, channelId, guild, guildId, interaction, member, member, user
-
Method Details
-
event
ChatInputInteractionEvent event()Description copied from interface:EventContextRetrieves the triggering event.- Specified by:
eventin interfaceApplicationCommandEventContext- Specified by:
eventin interfaceDeferrableInteractionEventContext- Specified by:
eventin interfaceEventContext- Specified by:
eventin interfaceInteractionEventContext- Returns:
- The event.
-