Skip to content

Events


integration_events

GuildIntegrationCreateEvent dataclass

Bases: Event, IntegrationModel


              flowchart TD
              scurrypy.events.integration_events.GuildIntegrationCreateEvent[GuildIntegrationCreateEvent]
              scurrypy.events.base_event.Event[Event]
              scurrypy.api.integration.IntegrationModel[IntegrationModel]
              scurrypy.core.model.DataModel[DataModel]

                              scurrypy.events.base_event.Event --> scurrypy.events.integration_events.GuildIntegrationCreateEvent
                                scurrypy.core.model.DataModel --> scurrypy.events.base_event.Event
                

                scurrypy.api.integration.IntegrationModel --> scurrypy.events.integration_events.GuildIntegrationCreateEvent
                                scurrypy.core.model.DataModel --> scurrypy.api.integration.IntegrationModel
                



              click scurrypy.events.integration_events.GuildIntegrationCreateEvent href "" "scurrypy.events.integration_events.GuildIntegrationCreateEvent"
              click scurrypy.events.base_event.Event href "" "scurrypy.events.base_event.Event"
              click scurrypy.api.integration.IntegrationModel href "" "scurrypy.api.integration.IntegrationModel"
              click scurrypy.core.model.DataModel href "" "scurrypy.core.model.DataModel"
            

Received when an integration is created.

dispatch_name = EventType.INTEGRATION_CREATE class-attribute instance-attribute

guild_id: Snowflake instance-attribute

Guild ID of the created integration.

GuildIntegrationUpdateEvent dataclass

Bases: Event, IntegrationModel


              flowchart TD
              scurrypy.events.integration_events.GuildIntegrationUpdateEvent[GuildIntegrationUpdateEvent]
              scurrypy.events.base_event.Event[Event]
              scurrypy.api.integration.IntegrationModel[IntegrationModel]
              scurrypy.core.model.DataModel[DataModel]

                              scurrypy.events.base_event.Event --> scurrypy.events.integration_events.GuildIntegrationUpdateEvent
                                scurrypy.core.model.DataModel --> scurrypy.events.base_event.Event
                

                scurrypy.api.integration.IntegrationModel --> scurrypy.events.integration_events.GuildIntegrationUpdateEvent
                                scurrypy.core.model.DataModel --> scurrypy.api.integration.IntegrationModel
                



              click scurrypy.events.integration_events.GuildIntegrationUpdateEvent href "" "scurrypy.events.integration_events.GuildIntegrationUpdateEvent"
              click scurrypy.events.base_event.Event href "" "scurrypy.events.base_event.Event"
              click scurrypy.api.integration.IntegrationModel href "" "scurrypy.api.integration.IntegrationModel"
              click scurrypy.core.model.DataModel href "" "scurrypy.core.model.DataModel"
            

Received when an integration is created.

dispatch_name = EventType.INTEGRATION_UPDATE class-attribute instance-attribute

guild_id: Snowflake instance-attribute

Guild ID of the updated integration.

GuildIntegrationsUpdateEvent dataclass

Bases: Event, DataModel


              flowchart TD
              scurrypy.events.integration_events.GuildIntegrationsUpdateEvent[GuildIntegrationsUpdateEvent]
              scurrypy.events.base_event.Event[Event]
              scurrypy.core.model.DataModel[DataModel]

                              scurrypy.events.base_event.Event --> scurrypy.events.integration_events.GuildIntegrationsUpdateEvent
                                scurrypy.core.model.DataModel --> scurrypy.events.base_event.Event
                

                scurrypy.core.model.DataModel --> scurrypy.events.integration_events.GuildIntegrationsUpdateEvent
                


              click scurrypy.events.integration_events.GuildIntegrationsUpdateEvent href "" "scurrypy.events.integration_events.GuildIntegrationsUpdateEvent"
              click scurrypy.events.base_event.Event href "" "scurrypy.events.base_event.Event"
              click scurrypy.core.model.DataModel href "" "scurrypy.core.model.DataModel"
            

Received when a guild's integration is updated.

dispatch_name = EventType.GUILD_INTEGRATIONS_UPDATE class-attribute instance-attribute

guild_id: Snowflake instance-attribute

ID of the guild whose integrations were updated.

GuildIntegrationDeleteEvent dataclass

Bases: Event, DataModel


              flowchart TD
              scurrypy.events.integration_events.GuildIntegrationDeleteEvent[GuildIntegrationDeleteEvent]
              scurrypy.events.base_event.Event[Event]
              scurrypy.core.model.DataModel[DataModel]

                              scurrypy.events.base_event.Event --> scurrypy.events.integration_events.GuildIntegrationDeleteEvent
                                scurrypy.core.model.DataModel --> scurrypy.events.base_event.Event
                

                scurrypy.core.model.DataModel --> scurrypy.events.integration_events.GuildIntegrationDeleteEvent
                


              click scurrypy.events.integration_events.GuildIntegrationDeleteEvent href "" "scurrypy.events.integration_events.GuildIntegrationDeleteEvent"
              click scurrypy.events.base_event.Event href "" "scurrypy.events.base_event.Event"
              click scurrypy.core.model.DataModel href "" "scurrypy.core.model.DataModel"
            

Received when a guild's integration is deleted.

dispatch_name = EventType.INTEGRATION_DELETE class-attribute instance-attribute

id: Snowflake instance-attribute

ID of the deleted integration.

guild_id: Snowflake instance-attribute

Guild ID of the deleted integration.

application_id: Snowflake | None instance-attribute

ID of the bot for this Discord integration.