Package dev.sympho.bot_utils.event
Interface MessageIncludedContext
- All Superinterfaces:
AccessContext,AccessValidator,ChannelAccessContext,ChannelAccessValidator,ChannelEventContext,EventContext,MessageBasedContext
- All Known Subinterfaces:
MessageCreateEventContext
The context of an event that is related to a message and always includes the
message data as part of the event payload.
- Since:
- 1.0
- Version:
- 1.0
-
Method Summary
Methods inherited from interface dev.sympho.bot_utils.access.AccessContext
asGuild, guild, guildId, isPrivate, member, member, userMethods inherited from interface dev.sympho.bot_utils.access.ChannelAccessContext
asUser, channelIdMethods 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, event, validateMethods inherited from interface dev.sympho.bot_utils.event.MessageBasedContext
channel, fetchMessage, messageId
-
Method Details
-
message
Message message()Description copied from interface:MessageBasedContextRetrieves the message that the event originates from, as attached to the event.- Specified by:
messagein interfaceMessageBasedContext- Returns:
- The message.
- See Also:
-