Skip to content

Prefixes Contexts


ctx

PrefixCommandContext

Bases: Channel


              flowchart TD
              scurrypy.ext.prefixes.ctx.PrefixCommandContext[PrefixCommandContext]
              scurrypy.resources.channel.Channel[Channel]
              scurrypy.resources.base_resource.BaseResource[BaseResource]

                              scurrypy.resources.channel.Channel --> scurrypy.ext.prefixes.ctx.PrefixCommandContext
                                scurrypy.resources.base_resource.BaseResource --> scurrypy.resources.channel.Channel
                



              click scurrypy.ext.prefixes.ctx.PrefixCommandContext href "" "scurrypy.ext.prefixes.ctx.PrefixCommandContext"
              click scurrypy.resources.channel.Channel href "" "scurrypy.resources.channel.Channel"
              click scurrypy.resources.base_resource.BaseResource href "" "scurrypy.resources.base_resource.BaseResource"
            

Useful message prefix event info.

bot = bot instance-attribute

event = event instance-attribute

args = args instance-attribute

author: UserModel property

Author of the prefix command.

guild: Guild property

Guild resource of the prefix command.

channel: Channel property

Channel resource of the prefix command.

message: Message property

Message resource of the prefix command.