DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::EventManager Class Reference

Class for handling the assignment of event-handling functions.int32_t. More...

#include <EventManager.hpp>

Public Member Functions

DiscordCoreInternal::EventDelegateToken onApplicationCommandsPermissionsUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnApplicationCommandPermissionsUpdateData > handler)
 For adding a function to handle this event.
 
void onApplicationCommandsPermissionsUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onAutoCompleteEntry (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoCompleteEntryData > handler)
 For adding a function to handle this event.
 
void onAutoCompleteEntry (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onAutoModerationActionExecution (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationActionExecutionData > handler)
 For adding a function to handle this event.
 
void onAutoModerationActionExecution (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onAutoModerationRuleCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleCreationData > handler)
 For adding a function to handle this event.
 
void onAutoModerationRuleCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onAutoModerationRuleDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleDeletionData > handler)
 For adding a function to handle this event.
 
void onAutoModerationRuleDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onAutoModerationRuleUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleUpdateData > handler)
 For adding a function to handle this event.
 
void onAutoModerationRuleUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onChannelCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelCreationData > handler)
 For adding a function to handle this event.
 
void onChannelCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onChannelDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelDeletionData > handler)
 For adding a function to handle this event.
 
void onChannelDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onChannelPinsUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelPinsUpdateData > handler)
 For adding a function to handle this event.
 
void onChannelPinsUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing afunction from handling this event.
 
DiscordCoreInternal::EventDelegateToken onChannelUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelUpdateData > handler)
 For adding a function to handle this event.
 
void onChannelUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGatewayPing (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGatewayPingData > handler)
 For adding a function to handle this event.
 
void onGatewayPing (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildBanAdd (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildBanAddData > handler)
 For adding a function to handle this event.
 
void onGuildBanAdd (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildBanRemove (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildBanRemoveData > handler)
 For adding a function to handle this event.
 
void onGuildBanRemove (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildCreationData > handler)
 For adding a function to handle this event.
 
void onGuildCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildDeletionData > handler)
 For adding a function to handle this event.
 
void onGuildDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildEmojisUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildEmojisUpdateData > handler)
 For adding a function to handle this event.
 
void onGuildEmojisUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildIntegrationsUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildIntegrationsUpdateData > handler)
 For adding a function to handle this event.
 
void onGuildIntegrationsUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildMemberAdd (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberAddData > handler)
 For adding a function to handle this event.
 
void onGuildMemberAdd (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildMemberRemove (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberRemoveData > handler)
 For adding a function to handle this event.
 
void onGuildMemberRemove (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildMembersChunk (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMembersChunkData > handler)
 For adding a function to handle this event.
 
void onGuildMembersChunk (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildMemberUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberUpdateData > handler)
 For adding a function to handle this event.
 
void onGuildMemberUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildScheduledEventCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventCreationData > handler)
 For adding a function to handle this event.
 
void onGuildScheduledEventCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildScheduledEventDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventDeletionData > handler)
 For adding a function to handle this event.
 
void onGuildScheduledEventDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildScheduledEventUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUpdateData > handler)
 For adding a function to handle this event.
 
void onGuildScheduledEventUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildScheduledEventUserAdd (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUserAddData > handler)
 For adding a function to handle this event.
 
void onGuildScheduledEventUserAdd (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildScheduledEventUserRemove (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUserRemoveData > handler)
 For adding a function to handle this event.
 
void onGuildScheduledEventUserRemove (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildStickersUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildStickersUpdateData > handler)
 For adding a function to handle this event.
 
void onGuildStickersUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onGuildUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildUpdateData > handler)
 For adding a function to handle this event.
 
void onGuildUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onInputEventCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInputEventCreationData > handler)
 For adding a function to handle this event.
 
void onInputEventCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onIntegrationCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationCreationData > handler)
 For adding a function to handle this event.
 
void onIntegrationCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onIntegrationDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationDeletionData > handler)
 For adding a function to handle this event.
 
void onIntegrationDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onIntegrationUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationUpdateData > handler)
 For adding a function to handle this event.
 
void onIntegrationUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onInteractionCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInteractionCreationData > handler)
 For adding a function to handle this event.
 
void onInteractionCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onInviteCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInviteCreationData > handler)
 For adding a function to handle this event.
 
void onInviteCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onInviteDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInviteDeletionData > handler)
 For adding a function to handle this event.
 
void onInviteDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onMessageCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageCreationData > handler)
 For adding a function to handle this event.
 
void onMessageCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onMessageDeleteBulk (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageDeleteBulkData > handler)
 For adding a function to handle this event.
 
void onMessageDeleteBulk (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onMessageDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageDeletionData > handler)
 For adding a function to handle this event.
 
void onMessageDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onMessageUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageUpdateData > handler)
 For adding a function to handle this event.
 
void onMessageUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onPresenceUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnPresenceUpdateData > handler)
 For adding a function to handle this event.
 
void onPresenceUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onReactionAdd (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionAddData > handler)
 For adding a function to handle this event.
 
void onReactionAdd (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onReactionRemove (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveData > handler)
 For adding a function to handle this event.
 
void onReactionRemove (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onReactionRemoveAll (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveAllData > handler)
 For adding a function to handle this event.
 
void onReactionRemoveAll (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onReactionRemoveEmoji (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveEmojiData > handler)
 For adding a function to handle this event.
 
void onReactionRemoveEmoji (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onRoleCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleCreationData > handler)
 For adding a function to handle this event.
 
void onRoleCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onRoleDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleDeletionData > handler)
 For adding a function to handle this event.
 
void onRoleDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onRoleUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleUpdateData > handler)
 For adding a function to handle this event.
 
void onRoleUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onStageInstanceCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceCreationData > handler)
 For adding a function to handle this event.
 
void onStageInstanceCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onStageInstanceDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceDeletionData > handler)
 For adding a function to handle this event.
 
void onStageInstanceDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onStageInstanceUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceUpdateData > handler)
 For adding a function to handle this event.
 
void onStageInstanceUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onThreadCreation (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadCreationData > handler)
 For adding a function to handle this event.
 
void onThreadCreation (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onThreadDeletion (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadDeletionData > handler)
 For adding a function to handle this event.
 
void onThreadDeletion (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onThreadListSync (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadListSyncData > handler)
 For adding a function to handle this event.
 
void onThreadListSync (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onThreadMembersUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadMembersUpdateData > handler)
 For adding a function to handle this event.
 
void onThreadMembersUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onThreadMemberUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadMemberUpdateData > handler)
 For adding a function to handle this event.
 
void onThreadMemberUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onThreadUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadUpdateData > handler)
 For adding a function to handle this event.
 
void onThreadUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onTypingStart (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnTypingStartData > handler)
 For adding a function to handle this event.
 
void onTypingStart (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onUserUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnUserUpdateData > handler)
 For adding a function to handle this event.
 
void onUserUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onVoiceServerUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnVoiceServerUpdateData > handler)
 For adding a function to handle this event.
 
void onVoiceServerUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onVoiceStateUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnVoiceStateUpdateData > handler)
 For adding a function to handle this event.
 
void onVoiceStateUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 
DiscordCoreInternal::EventDelegateToken onWebhookUpdate (const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnWebhookUpdateData > handler)
 For adding a function to handle this event.
 
void onWebhookUpdate (DiscordCoreInternal::EventDelegateToken &token)
 For removing a function from handling this event.
 

Member Function Documentation

◆ onApplicationCommandsPermissionsUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onApplicationCommandsPermissionsUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnApplicationCommandPermissionsUpdateData handler)
Parameters
handlerA delegate taking an OnApplicationCommandPermissionsUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 719 of file EventManager.cpp.

◆ onApplicationCommandsPermissionsUpdate() [2/2]

void DiscordCoreAPI::EventManager::onApplicationCommandsPermissionsUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 724 of file EventManager.cpp.

◆ onAutoCompleteEntry() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoCompleteEntry ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoCompleteEntryData handler)
Parameters
handlerA delegate taking an OnInputEventCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 764 of file EventManager.cpp.

◆ onAutoCompleteEntry() [2/2]

void DiscordCoreAPI::EventManager::onAutoCompleteEntry ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 769 of file EventManager.cpp.

◆ onAutoModerationActionExecution() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoModerationActionExecution ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationActionExecutionData handler)
Parameters
handlerA delegate taking an OnAutoModerationActionExecutionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 755 of file EventManager.cpp.

◆ onAutoModerationActionExecution() [2/2]

void DiscordCoreAPI::EventManager::onAutoModerationActionExecution ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 760 of file EventManager.cpp.

◆ onAutoModerationRuleCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoModerationRuleCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleCreationData handler)
Parameters
handlerA delegate taking an OnAutoModerationRuleCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 728 of file EventManager.cpp.

◆ onAutoModerationRuleCreation() [2/2]

void DiscordCoreAPI::EventManager::onAutoModerationRuleCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 733 of file EventManager.cpp.

◆ onAutoModerationRuleDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoModerationRuleDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleDeletionData handler)
Parameters
handlerA delegate taking an OnAutoModerationRuleDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 746 of file EventManager.cpp.

◆ onAutoModerationRuleDeletion() [2/2]

void DiscordCoreAPI::EventManager::onAutoModerationRuleDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 751 of file EventManager.cpp.

◆ onAutoModerationRuleUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoModerationRuleUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleUpdateData handler)
Parameters
handlerA delegate taking an OnAutoModerationRuleUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 737 of file EventManager.cpp.

◆ onAutoModerationRuleUpdate() [2/2]

void DiscordCoreAPI::EventManager::onAutoModerationRuleUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 742 of file EventManager.cpp.

◆ onChannelCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onChannelCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelCreationData handler)
Parameters
handlerA delegate taking an OnChannelCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 782 of file EventManager.cpp.

◆ onChannelCreation() [2/2]

void DiscordCoreAPI::EventManager::onChannelCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 787 of file EventManager.cpp.

◆ onChannelDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onChannelDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelDeletionData handler)
Parameters
handlerA delegate taking an OnChannelDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 800 of file EventManager.cpp.

◆ onChannelDeletion() [2/2]

void DiscordCoreAPI::EventManager::onChannelDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 805 of file EventManager.cpp.

◆ onChannelPinsUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onChannelPinsUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelPinsUpdateData handler)
Parameters
handlerA delegate taking an OnChannelPinsUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 809 of file EventManager.cpp.

◆ onChannelPinsUpdate() [2/2]

void DiscordCoreAPI::EventManager::onChannelPinsUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 814 of file EventManager.cpp.

◆ onChannelUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onChannelUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelUpdateData handler)
Parameters
handlerA delegate taking an OnChannelUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 791 of file EventManager.cpp.

◆ onChannelUpdate() [2/2]

void DiscordCoreAPI::EventManager::onChannelUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 796 of file EventManager.cpp.

◆ onGatewayPing() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGatewayPing ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGatewayPingData handler)
Parameters
handlerA delegate taking an OnGatewayPingData structure as an argument.
Returns
An event_token for later de-registering the event.

◆ onGatewayPing() [2/2]

void DiscordCoreAPI::EventManager::onGatewayPing ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

◆ onGuildBanAdd() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildBanAdd ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildBanAddData handler)
Parameters
handlerA delegate taking an OnGuildBanAddData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 899 of file EventManager.cpp.

◆ onGuildBanAdd() [2/2]

void DiscordCoreAPI::EventManager::onGuildBanAdd ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 904 of file EventManager.cpp.

◆ onGuildBanRemove() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildBanRemove ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildBanRemoveData handler)
Parameters
handlerA delegate taking an OnGuildBanRemoveData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 908 of file EventManager.cpp.

◆ onGuildBanRemove() [2/2]

void DiscordCoreAPI::EventManager::onGuildBanRemove ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenDiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 913 of file EventManager.cpp.

◆ onGuildCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildCreationData handler)
Parameters
handlerA delegate taking an OnGuildCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 872 of file EventManager.cpp.

◆ onGuildCreation() [2/2]

void DiscordCoreAPI::EventManager::onGuildCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 877 of file EventManager.cpp.

◆ onGuildDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildDeletionData handler)
Parameters
handlerA delegate taking an OnGuildDeletionData structure as an argument
Returns
An event_token for later de-registering the event.

Definition at line 890 of file EventManager.cpp.

◆ onGuildDeletion() [2/2]

void DiscordCoreAPI::EventManager::onGuildDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 895 of file EventManager.cpp.

◆ onGuildEmojisUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildEmojisUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildEmojisUpdateData handler)
Parameters
handlerA delegate taking an OnGuildEmojisUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 917 of file EventManager.cpp.

◆ onGuildEmojisUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildEmojisUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 922 of file EventManager.cpp.

◆ onGuildIntegrationsUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildIntegrationsUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildIntegrationsUpdateData handler)
Parameters
handlerA delegate taking an OnGuildIntegrationsUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 935 of file EventManager.cpp.

◆ onGuildIntegrationsUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildIntegrationsUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 940 of file EventManager.cpp.

◆ onGuildMemberAdd() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildMemberAdd ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberAddData handler)
Parameters
handlerA delegate taking an OnGuildMemberAddData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 953 of file EventManager.cpp.

◆ onGuildMemberAdd() [2/2]

void DiscordCoreAPI::EventManager::onGuildMemberAdd ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 958 of file EventManager.cpp.

◆ onGuildMemberRemove() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildMemberRemove ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberRemoveData handler)
Parameters
handlerA delegate taking an OnGuildMemberRemoveData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 962 of file EventManager.cpp.

◆ onGuildMemberRemove() [2/2]

void DiscordCoreAPI::EventManager::onGuildMemberRemove ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 967 of file EventManager.cpp.

◆ onGuildMembersChunk() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildMembersChunk ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMembersChunkData handler)
Parameters
handlerA delegate taking an OnGuildMembersChunkData structure as an argument. returns An DiscordCoreInternal::EventDelegateToken, > for later de-registering the event.

Definition at line 944 of file EventManager.cpp.

◆ onGuildMembersChunk() [2/2]

void DiscordCoreAPI::EventManager::onGuildMembersChunk ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 949 of file EventManager.cpp.

◆ onGuildMemberUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildMemberUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberUpdateData handler)
Parameters
handlerA delegate taking an OnGuildMemberUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 971 of file EventManager.cpp.

◆ onGuildMemberUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildMemberUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 976 of file EventManager.cpp.

◆ onGuildScheduledEventCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventCreationData handler)
Parameters
handlerA delegate taking an OnGuildScheduledEventCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1007 of file EventManager.cpp.

◆ onGuildScheduledEventCreation() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1012 of file EventManager.cpp.

◆ onGuildScheduledEventDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventDeletionData handler)
Parameters
handlerA delegate taking an OnGuildScheduledEventDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1025 of file EventManager.cpp.

◆ onGuildScheduledEventDeletion() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1030 of file EventManager.cpp.

◆ onGuildScheduledEventUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUpdateData handler)
Parameters
handlerA delegate taking an OnGuildScheduledEventUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1016 of file EventManager.cpp.

◆ onGuildScheduledEventUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1021 of file EventManager.cpp.

◆ onGuildScheduledEventUserAdd() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventUserAdd ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUserAddData handler)
Parameters
handlerA delegate taking an OnGuildScheduledEventUserAddData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1034 of file EventManager.cpp.

◆ onGuildScheduledEventUserAdd() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventUserAdd ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1039 of file EventManager.cpp.

◆ onGuildScheduledEventUserRemove() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventUserRemove ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUserRemoveData handler)
Parameters
handlerA delegate taking an OnGuildScheduledEventUserRemoveData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1043 of file EventManager.cpp.

◆ onGuildScheduledEventUserRemove() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventUserRemove ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1048 of file EventManager.cpp.

◆ onGuildStickersUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildStickersUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildStickersUpdateData handler)
Parameters
handlerA delegate taking an OnGuildStickersUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 926 of file EventManager.cpp.

◆ onGuildStickersUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildStickersUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 931 of file EventManager.cpp.

◆ onGuildUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildUpdateData handler)
Parameters
handlerA delegate taking an OnGuildUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 881 of file EventManager.cpp.

◆ onGuildUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 886 of file EventManager.cpp.

◆ onInputEventCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onInputEventCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInputEventCreationData handler)
Parameters
handlerA delegate taking an OnInputEventCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 773 of file EventManager.cpp.

◆ onInputEventCreation() [2/2]

void DiscordCoreAPI::EventManager::onInputEventCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 778 of file EventManager.cpp.

◆ onIntegrationCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onIntegrationCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationCreationData handler)
Parameters
handlerA delegate taking an OnIntegrationCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1052 of file EventManager.cpp.

◆ onIntegrationCreation() [2/2]

void DiscordCoreAPI::EventManager::onIntegrationCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1057 of file EventManager.cpp.

◆ onIntegrationDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onIntegrationDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationDeletionData handler)
Parameters
handlerA delegate taking an OnIntegrationDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1070 of file EventManager.cpp.

◆ onIntegrationDeletion() [2/2]

void DiscordCoreAPI::EventManager::onIntegrationDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1075 of file EventManager.cpp.

◆ onIntegrationUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onIntegrationUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationUpdateData handler)
Parameters
handlerA delegate taking an OnIntegrationUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1061 of file EventManager.cpp.

◆ onIntegrationUpdate() [2/2]

void DiscordCoreAPI::EventManager::onIntegrationUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1066 of file EventManager.cpp.

◆ onInteractionCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onInteractionCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInteractionCreationData handler)
Parameters
handlerA delegate taking an OnInteractionCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1079 of file EventManager.cpp.

◆ onInteractionCreation() [2/2]

void DiscordCoreAPI::EventManager::onInteractionCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1084 of file EventManager.cpp.

◆ onInviteCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onInviteCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInviteCreationData handler)
Parameters
handlerA delegate taking an OnInviteCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1088 of file EventManager.cpp.

◆ onInviteCreation() [2/2]

void DiscordCoreAPI::EventManager::onInviteCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1093 of file EventManager.cpp.

◆ onInviteDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onInviteDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInviteDeletionData handler)
Parameters
handlerA delegate taking an OnInviteDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1097 of file EventManager.cpp.

◆ onInviteDeletion() [2/2]

void DiscordCoreAPI::EventManager::onInviteDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1102 of file EventManager.cpp.

◆ onMessageCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onMessageCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageCreationData handler)
Parameters
handlerA delegate taking an OnMessageCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1106 of file EventManager.cpp.

◆ onMessageCreation() [2/2]

void DiscordCoreAPI::EventManager::onMessageCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1111 of file EventManager.cpp.

◆ onMessageDeleteBulk() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onMessageDeleteBulk ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageDeleteBulkData handler)
Parameters
handlerA delegate taking an OnMessageDeleteBulkData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1133 of file EventManager.cpp.

◆ onMessageDeleteBulk() [2/2]

void DiscordCoreAPI::EventManager::onMessageDeleteBulk ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1138 of file EventManager.cpp.

◆ onMessageDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onMessageDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageDeletionData handler)
Parameters
handlerA delegate taking an OnMessageDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1124 of file EventManager.cpp.

◆ onMessageDeletion() [2/2]

void DiscordCoreAPI::EventManager::onMessageDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1129 of file EventManager.cpp.

◆ onMessageUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onMessageUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageUpdateData handler)
Parameters
handlerA delegate taking an OnMessageUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1115 of file EventManager.cpp.

◆ onMessageUpdate() [2/2]

void DiscordCoreAPI::EventManager::onMessageUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1120 of file EventManager.cpp.

◆ onPresenceUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onPresenceUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnPresenceUpdateData handler)
Parameters
handlerA delegate taking an OnPresenceUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1178 of file EventManager.cpp.

◆ onPresenceUpdate() [2/2]

void DiscordCoreAPI::EventManager::onPresenceUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1183 of file EventManager.cpp.

◆ onReactionAdd() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onReactionAdd ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionAddData handler)
Parameters
handlerA delegate taking an OnReactionAddData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1142 of file EventManager.cpp.

◆ onReactionAdd() [2/2]

void DiscordCoreAPI::EventManager::onReactionAdd ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1147 of file EventManager.cpp.

◆ onReactionRemove() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onReactionRemove ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveData handler)
Parameters
handlerA delegate taking an OnReactionRemoveData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1151 of file EventManager.cpp.

◆ onReactionRemove() [2/2]

void DiscordCoreAPI::EventManager::onReactionRemove ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken,from the original event registration.

Definition at line 1156 of file EventManager.cpp.

◆ onReactionRemoveAll() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onReactionRemoveAll ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveAllData handler)
Parameters
handlerA delegate taking an OnReactionRemoveAllData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1160 of file EventManager.cpp.

◆ onReactionRemoveAll() [2/2]

void DiscordCoreAPI::EventManager::onReactionRemoveAll ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1165 of file EventManager.cpp.

◆ onReactionRemoveEmoji() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onReactionRemoveEmoji ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveEmojiData handler)
Parameters
handlerA delegate taking an OnReactionRemoveEmojiData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1169 of file EventManager.cpp.

◆ onReactionRemoveEmoji() [2/2]

void DiscordCoreAPI::EventManager::onReactionRemoveEmoji ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1174 of file EventManager.cpp.

◆ onRoleCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onRoleCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleCreationData handler)
Parameters
handlerA delegate taking an OnRoleCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 980 of file EventManager.cpp.

◆ onRoleCreation() [2/2]

void DiscordCoreAPI::EventManager::onRoleCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 985 of file EventManager.cpp.

◆ onRoleDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onRoleDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleDeletionData handler)
Parameters
handlerA delegate taking an OnRoleDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 998 of file EventManager.cpp.

◆ onRoleDeletion() [2/2]

void DiscordCoreAPI::EventManager::onRoleDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1003 of file EventManager.cpp.

◆ onRoleUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onRoleUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleUpdateData handler)
Parameters
handlerA delegate taking an OnRoleUpdateData structure as an argument
Returns
An event_token for later de-registering the event.

Definition at line 989 of file EventManager.cpp.

◆ onRoleUpdate() [2/2]

void DiscordCoreAPI::EventManager::onRoleUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 994 of file EventManager.cpp.

◆ onStageInstanceCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onStageInstanceCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceCreationData handler)
Parameters
handlerA delegate taking an OnStageInstanceCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1187 of file EventManager.cpp.

◆ onStageInstanceCreation() [2/2]

void DiscordCoreAPI::EventManager::onStageInstanceCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1192 of file EventManager.cpp.

◆ onStageInstanceDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onStageInstanceDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceDeletionData handler)
Parameters
handlerA delegate taking an OnStageInstanceDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1205 of file EventManager.cpp.

◆ onStageInstanceDeletion() [2/2]

void DiscordCoreAPI::EventManager::onStageInstanceDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1210 of file EventManager.cpp.

◆ onStageInstanceUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onStageInstanceUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceUpdateData handler)
Parameters
handlerA delegate taking an OnStageInstanceUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1196 of file EventManager.cpp.

◆ onStageInstanceUpdate() [2/2]

void DiscordCoreAPI::EventManager::onStageInstanceUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1201 of file EventManager.cpp.

◆ onThreadCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadCreationData handler)
Parameters
handlerA delegate taking an OnThreadCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 818 of file EventManager.cpp.

◆ onThreadCreation() [2/2]

void DiscordCoreAPI::EventManager::onThreadCreation ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 823 of file EventManager.cpp.

◆ onThreadDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadDeletionData handler)
Parameters
handlerA delegate taking an OnThreadDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 836 of file EventManager.cpp.

◆ onThreadDeletion() [2/2]

void DiscordCoreAPI::EventManager::onThreadDeletion ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 841 of file EventManager.cpp.

◆ onThreadListSync() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadListSync ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadListSyncData handler)
Parameters
handlerA delegate taking an OnThreadListSyncData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 845 of file EventManager.cpp.

◆ onThreadListSync() [2/2]

void DiscordCoreAPI::EventManager::onThreadListSync ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 850 of file EventManager.cpp.

◆ onThreadMembersUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadMembersUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadMembersUpdateData handler)
Parameters
handlerA delegate taking an OnThreadMembersUpdateData structure as an argument
Returns
An event_token for later de-registering the event.

Definition at line 863 of file EventManager.cpp.

◆ onThreadMembersUpdate() [2/2]

void DiscordCoreAPI::EventManager::onThreadMembersUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 868 of file EventManager.cpp.

◆ onThreadMemberUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadMemberUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadMemberUpdateData handler)
Parameters
handlerA delegate taking an OnThreadMemberUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 854 of file EventManager.cpp.

◆ onThreadMemberUpdate() [2/2]

void DiscordCoreAPI::EventManager::onThreadMemberUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 859 of file EventManager.cpp.

◆ onThreadUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadUpdateData handler)
Parameters
handlerA delegate taking an OnThreadUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 827 of file EventManager.cpp.

◆ onThreadUpdate() [2/2]

void DiscordCoreAPI::EventManager::onThreadUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 832 of file EventManager.cpp.

◆ onTypingStart() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onTypingStart ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnTypingStartData handler)
Parameters
handlerA delegate taking an OnTypingStartData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1214 of file EventManager.cpp.

◆ onTypingStart() [2/2]

void DiscordCoreAPI::EventManager::onTypingStart ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1219 of file EventManager.cpp.

◆ onUserUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onUserUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnUserUpdateData handler)
Parameters
handlerA delegate taking an OnUserUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1223 of file EventManager.cpp.

◆ onUserUpdate() [2/2]

void DiscordCoreAPI::EventManager::onUserUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1228 of file EventManager.cpp.

◆ onVoiceServerUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onVoiceServerUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnVoiceServerUpdateData handler)
Parameters
handlerA delegate taking an OnVoiceServerUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1241 of file EventManager.cpp.

◆ onVoiceServerUpdate() [2/2]

void DiscordCoreAPI::EventManager::onVoiceServerUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1246 of file EventManager.cpp.

◆ onVoiceStateUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onVoiceStateUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnVoiceStateUpdateData handler)
Parameters
handlerA delegate taking an OnVoiceStateUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1232 of file EventManager.cpp.

◆ onVoiceStateUpdate() [2/2]

void DiscordCoreAPI::EventManager::onVoiceStateUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1237 of file EventManager.cpp.

◆ onWebhookUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onWebhookUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnWebhookUpdateData handler)
Parameters
handlerA delegate taking an OnWebhookUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 1250 of file EventManager.cpp.

◆ onWebhookUpdate() [2/2]

void DiscordCoreAPI::EventManager::onWebhookUpdate ( DiscordCoreInternal::EventDelegateToken token)
Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 1255 of file EventManager.cpp.


The documentation for this class was generated from the following files: