Preview environment

enum RPCEvents

export declare enum RPCEvents

See also: https://discord.com/developers/docs/topics/rpc#commands-and-events-rpc-events

Members

ActivityInvite = "ACTIVITY_INVITE"

ActivityJoin = "ACTIVITY_JOIN"

ActivityJoinRequest = "ACTIVITY_JOIN_REQUEST"

ActivitySpectate = "ACTIVITY_SPECTATE"

ChannelCreate = "CHANNEL_CREATE"

CurrentUserUpdate = "CURRENT_USER_UPDATE"

EntitlementCreate = "ENTITLEMENT_CREATE"

EntitlementDelete = "ENTITLEMENT_DELETE"

Error = "ERROR"

GameJoin = "GAME_JOIN"

GameSpectate = "GAME_SPECTATE"

GuildCreate = "GUILD_CREATE"

GuildStatus = "GUILD_STATUS"

MessageCreate = "MESSAGE_CREATE"

Dispatches message objects, with the exception of deletions, which only contains the id in the message object.

MessageDelete = "MESSAGE_DELETE"

Dispatches message objects, with the exception of deletions, which only contains the id in the message object.

MessageUpdate = "MESSAGE_UPDATE"

Dispatches message objects, with the exception of deletions, which only contains the id in the message object.

NotificationCreate = "NOTIFICATION_CREATE"

This event requires the rpc.notifications.read OAuth2 scope.

Overlay = "OVERLAY"

OverlayUpdate = "OVERLAY_UPDATE"

Ready = "READY"

RelationshipUpdate = "RELATIONSHIP_UPDATE"

SpeakingStart = "SPEAKING_START"

SpeakingStop = "SPEAKING_STOP"

VoiceChannelSelect = "VOICE_CHANNEL_SELECT"

VoiceConnectionStatus = "VOICE_CONNECTION_STATUS"

VoiceSettingsUpdate = "VOICE_SETTINGS_UPDATE"

VoiceSettingsUpdate2 = "VOICE_SETTINGS_UPDATE_2"

VoiceStateCreate = "VOICE_STATE_CREATE"

Dispatches channel voice state objects

VoiceStateDelete = "VOICE_STATE_DELETE"

Dispatches channel voice state objects

VoiceStateUpdate = "VOICE_STATE_UPDATE"

Dispatches channel voice state objects