Interactions Contexts¶
ctx
¶
InteractionContext
¶
Bases: Interaction
flowchart TD
scurrypy.ext.interactions.ctx.InteractionContext[InteractionContext]
scurrypy.resources.interaction.Interaction[Interaction]
scurrypy.resources.base_resource.BaseResource[BaseResource]
scurrypy.resources.message._EditMessageMixin[_EditMessageMixin]
scurrypy.resources.interaction.Interaction --> scurrypy.ext.interactions.ctx.InteractionContext
scurrypy.resources.base_resource.BaseResource --> scurrypy.resources.interaction.Interaction
scurrypy.resources.message._EditMessageMixin --> scurrypy.resources.interaction.Interaction
click scurrypy.ext.interactions.ctx.InteractionContext href "" "scurrypy.ext.interactions.ctx.InteractionContext"
click scurrypy.resources.interaction.Interaction href "" "scurrypy.resources.interaction.Interaction"
click scurrypy.resources.base_resource.BaseResource href "" "scurrypy.resources.base_resource.BaseResource"
click scurrypy.resources.message._EditMessageMixin href "" "scurrypy.resources.message._EditMessageMixin"
Useful interaction event info.
bot = bot
instance-attribute
¶
event = event
instance-attribute
¶
data = event.data
instance-attribute
¶
user: UserModel
property
¶
The invoking user.
member: GuildMemberModel
property
¶
The invoking user's member.
channel: Channel
property
¶
Channel resource of the interaction.
guild: Guild
property
¶
Guild resource of the interaction.
message: Message
property
¶
Message resource of the interaction.