Package dev.sympho.bot_utils.event
Interface ButtonEventContext
- All Superinterfaces:
AccessContext,AccessValidator,ChannelAccessContext,ChannelAccessValidator,ChannelEventContext,ComponentEventContext,DeferrableInteractionEventContext,EventContext,InteractionEventContext,MessageBasedContext,RepliableContext
The context of a button component being pressed by a user.
- 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.ComponentEventContext
channel, fetchMessage, message, messageIdMethods inherited from interface dev.sympho.bot_utils.event.EventContext
client, validateMethods inherited from interface dev.sympho.bot_utils.event.InteractionEventContext
channelId, guild, guildId, interaction, member, member, user
-
Method Details
-
event
ButtonInteractionEvent event()Description copied from interface:EventContextRetrieves the triggering event.- Specified by:
eventin interfaceComponentEventContext- Specified by:
eventin interfaceDeferrableInteractionEventContext- Specified by:
eventin interfaceEventContext- Specified by:
eventin interfaceInteractionEventContext- Returns:
- The event.
-