Internal DocsModulesLogsEvent classifications

Event classifications

This document contains a classification of each relevant log event type (defined in the protobuf enum logs.event.EventType) based on what their source will be (i.e. how we will get them from Discord).

Classification table
EventType variantExpected source
EventTypeGuildCreateSpecial (this is sourced from guild metadata)
EventTypeMemberJoinGateway, with special in certain cases (to source historical events)
EventTypeMemberLeaveGateway
EventTypeMessageSendGateway, with special in certain cases (to source historical events)
EventTypeMessageReplyGateway, with special in certain cases (to source historical events)
EventTypeMessageEditGateway
EventTypeReactionAddGateway
EventTypeReactionRemoveGateway
EventTypeReactionBulkRemoveGateway
EventTypeInteractionCreateGateway
EventTypeMessageDeleteHybrid (gateway to get actual message, audit log to get who deleted)
EventTypeMessageBulkDeleteHybrid (gateway to get actual messages, audit log to get who deleted)
EventTypeGuildUpdateAudit log
EventTypeChannelCreateAudit log, with special to source the base creation events
EventTypeChannelUpdateAudit log
EventTypeChannelDeleteAudit log
EventTypeChannelOverwriteCreateAudit log, with special to source the base creation events
EventTypeChannelOverwriteUpdateAudit log
EventTypeChannelOverwriteDeleteAudit log
EventTypeMemberKickAudit log
EventTypeMemberPruneAudit log
EventTypeMemberBanAddAudit log, with special to source the base creation events
EventTypeMemberBanRemoveAudit log
EventTypeMemberUpdateAudit log
EventTypeMemberRoleUpdateAudit log
EventTypeMemberVoiceMoveAudit log
EventTypeMemberVoiceKickAudit log
EventTypeBotAddAudit log
EventTypeRoleCreateAudit log, with special to source the base creation events
EventTypeRoleUpdateAudit log
EventTypeRoleDeleteAudit log
EventTypeInviteCreateAudit log, with special to source the base creation events
EventTypeInviteUpdateAudit log
EventTypeInviteDeleteAudit log
EventTypeWebhookCreateAudit log, with special to source the base creation events
EventTypeWebhookUpdateAudit log
EventTypeWebhookDeleteAudit log
EventTypeEmojiCreateAudit log, with special to source the base creation events
EventTypeEmojiUpdateAudit log
EventTypeEmojiDeleteAudit log
EventTypeMessagePinAudit log, with special to source the base creation events
EventTypeMessageUnpinAudit log
EventTypeIntegrationCreateAudit log, with special to source the base creation events
EventTypeIntegrationUpdateAudit log
EventTypeIntegrationDeleteAudit log

Remaining classifications

The following audit log events need to be classified:

  • STAGE_INSTANCE_CREATE
  • STAGE_INSTANCE_UPDATE
  • STAGE_INSTANCE_DELETE
  • STICKER_CREATE
  • STICKER_UPDATE
  • STICKER_DELETE
  • THREAD_CREATE
  • THREAD_UPDATE
  • THREAD_DELETE

Additionally, the following gateway events need to be classified:

  • Thread Create
  • Thread Update
  • Thread Delete
  • Thread List Sync
  • Thread Member Update
  • Thread Members Update
  • Guild Emojis Update
  • Guild Stickers Update
  • Guild Integrations Update
  • Stage Instance Create
  • Stage Instance Delete
  • Stage Instance Update

Joseph Azevedo profile
Last modified 10 months ago
Edit this page on GitHub
Built with using