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

Member Function Documentation

◆ onApplicationCommandsPermissionsUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onApplicationCommandsPermissionsUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnApplicationCommandPermissionsUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnApplicationCommandPermissionsUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 229 of file EventManager.cpp.

◆ onApplicationCommandsPermissionsUpdate() [2/2]

void DiscordCoreAPI::EventManager::onApplicationCommandsPermissionsUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 234 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 273 of file EventManager.cpp.

◆ onAutoCompleteEntry() [2/2]

void DiscordCoreAPI::EventManager::onAutoCompleteEntry ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 277 of file EventManager.cpp.

◆ onAutoModerationActionExecution() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoModerationActionExecution ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationActionExecutionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnAutoModerationActionExecutionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 264 of file EventManager.cpp.

◆ onAutoModerationActionExecution() [2/2]

void DiscordCoreAPI::EventManager::onAutoModerationActionExecution ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 269 of file EventManager.cpp.

◆ onAutoModerationRuleCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoModerationRuleCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnAutoModerationRuleCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 238 of file EventManager.cpp.

◆ onAutoModerationRuleCreation() [2/2]

void DiscordCoreAPI::EventManager::onAutoModerationRuleCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 243 of file EventManager.cpp.

◆ onAutoModerationRuleDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoModerationRuleDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnAutoModerationRuleDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 255 of file EventManager.cpp.

◆ onAutoModerationRuleDeletion() [2/2]

void DiscordCoreAPI::EventManager::onAutoModerationRuleDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 260 of file EventManager.cpp.

◆ onAutoModerationRuleUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onAutoModerationRuleUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnAutoModerationRuleUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnAutoModerationRuleUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 247 of file EventManager.cpp.

◆ onAutoModerationRuleUpdate() [2/2]

void DiscordCoreAPI::EventManager::onAutoModerationRuleUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 251 of file EventManager.cpp.

◆ onChannelCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onChannelCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnChannelCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 289 of file EventManager.cpp.

◆ onChannelCreation() [2/2]

void DiscordCoreAPI::EventManager::onChannelCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 293 of file EventManager.cpp.

◆ onChannelDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onChannelDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnChannelDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 305 of file EventManager.cpp.

◆ onChannelDeletion() [2/2]

void DiscordCoreAPI::EventManager::onChannelDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 309 of file EventManager.cpp.

◆ onChannelPinsUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onChannelPinsUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelPinsUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnChannelPinsUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 313 of file EventManager.cpp.

◆ onChannelPinsUpdate() [2/2]

void DiscordCoreAPI::EventManager::onChannelPinsUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 317 of file EventManager.cpp.

◆ onChannelUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onChannelUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnChannelUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnChannelUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 297 of file EventManager.cpp.

◆ onChannelUpdate() [2/2]

void DiscordCoreAPI::EventManager::onChannelUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 301 of file EventManager.cpp.

◆ onGuildBanAdd() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildBanAdd ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildBanAddData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildBanAddData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 393 of file EventManager.cpp.

◆ onGuildBanAdd() [2/2]

void DiscordCoreAPI::EventManager::onGuildBanAdd ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 397 of file EventManager.cpp.

◆ onGuildBanRemove() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildBanRemove ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildBanRemoveData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildBanRemoveData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 401 of file EventManager.cpp.

◆ onGuildBanRemove() [2/2]

void DiscordCoreAPI::EventManager::onGuildBanRemove ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenDiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 405 of file EventManager.cpp.

◆ onGuildCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 369 of file EventManager.cpp.

◆ onGuildCreation() [2/2]

void DiscordCoreAPI::EventManager::onGuildCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 373 of file EventManager.cpp.

◆ onGuildDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildDeletionData structure as an argument
Returns
An event_token for later de-registering the event.

Definition at line 385 of file EventManager.cpp.

◆ onGuildDeletion() [2/2]

void DiscordCoreAPI::EventManager::onGuildDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 389 of file EventManager.cpp.

◆ onGuildEmojisUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildEmojisUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildEmojisUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildEmojisUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 409 of file EventManager.cpp.

◆ onGuildEmojisUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildEmojisUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 413 of file EventManager.cpp.

◆ onGuildIntegrationsUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildIntegrationsUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildIntegrationsUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildIntegrationsUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 425 of file EventManager.cpp.

◆ onGuildIntegrationsUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildIntegrationsUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 429 of file EventManager.cpp.

◆ onGuildMemberAdd() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildMemberAdd ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberAddData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildMemberAddData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 441 of file EventManager.cpp.

◆ onGuildMemberAdd() [2/2]

void DiscordCoreAPI::EventManager::onGuildMemberAdd ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 445 of file EventManager.cpp.

◆ onGuildMemberRemove() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildMemberRemove ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberRemoveData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildMemberRemoveData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 449 of file EventManager.cpp.

◆ onGuildMemberRemove() [2/2]

void DiscordCoreAPI::EventManager::onGuildMemberRemove ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 453 of file EventManager.cpp.

◆ onGuildMembersChunk() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildMembersChunk ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMembersChunkData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildMembersChunkData structure as an argument. returns An DiscordCoreInternal::EventDelegateToken, > for later de-registering the event.

Definition at line 433 of file EventManager.cpp.

◆ onGuildMembersChunk() [2/2]

void DiscordCoreAPI::EventManager::onGuildMembersChunk ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 437 of file EventManager.cpp.

◆ onGuildMemberUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildMemberUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildMemberUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildMemberUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 457 of file EventManager.cpp.

◆ onGuildMemberUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildMemberUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 461 of file EventManager.cpp.

◆ onGuildScheduledEventCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildScheduledEventCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 489 of file EventManager.cpp.

◆ onGuildScheduledEventCreation() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 494 of file EventManager.cpp.

◆ onGuildScheduledEventDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildScheduledEventDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 507 of file EventManager.cpp.

◆ onGuildScheduledEventDeletion() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 512 of file EventManager.cpp.

◆ onGuildScheduledEventUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildScheduledEventUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 498 of file EventManager.cpp.

◆ onGuildScheduledEventUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 503 of file EventManager.cpp.

◆ onGuildScheduledEventUserAdd() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventUserAdd ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUserAddData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildScheduledEventUserAddData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 516 of file EventManager.cpp.

◆ onGuildScheduledEventUserAdd() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventUserAdd ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 521 of file EventManager.cpp.

◆ onGuildScheduledEventUserRemove() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildScheduledEventUserRemove ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildScheduledEventUserRemoveData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildScheduledEventUserRemoveData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 525 of file EventManager.cpp.

◆ onGuildScheduledEventUserRemove() [2/2]

void DiscordCoreAPI::EventManager::onGuildScheduledEventUserRemove ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 530 of file EventManager.cpp.

◆ onGuildStickersUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildStickersUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildStickersUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildStickersUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 417 of file EventManager.cpp.

◆ onGuildStickersUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildStickersUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 421 of file EventManager.cpp.

◆ onGuildUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onGuildUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnGuildUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnGuildUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 377 of file EventManager.cpp.

◆ onGuildUpdate() [2/2]

void DiscordCoreAPI::EventManager::onGuildUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 381 of file EventManager.cpp.

◆ onInputEventCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onInputEventCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInputEventCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnInputEventCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 281 of file EventManager.cpp.

◆ onInputEventCreation() [2/2]

void DiscordCoreAPI::EventManager::onInputEventCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 285 of file EventManager.cpp.

◆ onIntegrationCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onIntegrationCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnIntegrationCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 534 of file EventManager.cpp.

◆ onIntegrationCreation() [2/2]

void DiscordCoreAPI::EventManager::onIntegrationCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 538 of file EventManager.cpp.

◆ onIntegrationDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onIntegrationDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnIntegrationDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 550 of file EventManager.cpp.

◆ onIntegrationDeletion() [2/2]

void DiscordCoreAPI::EventManager::onIntegrationDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 554 of file EventManager.cpp.

◆ onIntegrationUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onIntegrationUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnIntegrationUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnIntegrationUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 542 of file EventManager.cpp.

◆ onIntegrationUpdate() [2/2]

void DiscordCoreAPI::EventManager::onIntegrationUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 546 of file EventManager.cpp.

◆ onInteractionCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onInteractionCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInteractionCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnInteractionCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 558 of file EventManager.cpp.

◆ onInteractionCreation() [2/2]

void DiscordCoreAPI::EventManager::onInteractionCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 562 of file EventManager.cpp.

◆ onInviteCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onInviteCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInviteCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnInviteCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 566 of file EventManager.cpp.

◆ onInviteCreation() [2/2]

void DiscordCoreAPI::EventManager::onInviteCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 570 of file EventManager.cpp.

◆ onInviteDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onInviteDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnInviteDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnInviteDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 574 of file EventManager.cpp.

◆ onInviteDeletion() [2/2]

void DiscordCoreAPI::EventManager::onInviteDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 578 of file EventManager.cpp.

◆ onMessageCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onMessageCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnMessageCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 582 of file EventManager.cpp.

◆ onMessageCreation() [2/2]

void DiscordCoreAPI::EventManager::onMessageCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 586 of file EventManager.cpp.

◆ onMessageDeleteBulk() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onMessageDeleteBulk ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageDeleteBulkData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnMessageDeleteBulkData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 606 of file EventManager.cpp.

◆ onMessageDeleteBulk() [2/2]

void DiscordCoreAPI::EventManager::onMessageDeleteBulk ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 610 of file EventManager.cpp.

◆ onMessageDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onMessageDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnMessageDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 598 of file EventManager.cpp.

◆ onMessageDeletion() [2/2]

void DiscordCoreAPI::EventManager::onMessageDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 602 of file EventManager.cpp.

◆ onMessageUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onMessageUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnMessageUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnMessageUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 590 of file EventManager.cpp.

◆ onMessageUpdate() [2/2]

void DiscordCoreAPI::EventManager::onMessageUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 594 of file EventManager.cpp.

◆ onPresenceUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onPresenceUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnPresenceUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnPresenceUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 646 of file EventManager.cpp.

◆ onPresenceUpdate() [2/2]

void DiscordCoreAPI::EventManager::onPresenceUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 650 of file EventManager.cpp.

◆ onReactionAdd() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onReactionAdd ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionAddData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnReactionAddData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 614 of file EventManager.cpp.

◆ onReactionAdd() [2/2]

void DiscordCoreAPI::EventManager::onReactionAdd ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 618 of file EventManager.cpp.

◆ onReactionRemove() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onReactionRemove ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnReactionRemoveData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 622 of file EventManager.cpp.

◆ onReactionRemove() [2/2]

void DiscordCoreAPI::EventManager::onReactionRemove ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken,from the original event registration.

Definition at line 626 of file EventManager.cpp.

◆ onReactionRemoveAll() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onReactionRemoveAll ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveAllData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnReactionRemoveAllData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 630 of file EventManager.cpp.

◆ onReactionRemoveAll() [2/2]

void DiscordCoreAPI::EventManager::onReactionRemoveAll ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 634 of file EventManager.cpp.

◆ onReactionRemoveEmoji() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onReactionRemoveEmoji ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnReactionRemoveEmojiData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnReactionRemoveEmojiData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 638 of file EventManager.cpp.

◆ onReactionRemoveEmoji() [2/2]

void DiscordCoreAPI::EventManager::onReactionRemoveEmoji ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 642 of file EventManager.cpp.

◆ onRoleCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onRoleCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnRoleCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 465 of file EventManager.cpp.

◆ onRoleCreation() [2/2]

void DiscordCoreAPI::EventManager::onRoleCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 469 of file EventManager.cpp.

◆ onRoleDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onRoleDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnRoleDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 481 of file EventManager.cpp.

◆ onRoleDeletion() [2/2]

void DiscordCoreAPI::EventManager::onRoleDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 485 of file EventManager.cpp.

◆ onRoleUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onRoleUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnRoleUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnRoleUpdateData structure as an argument
Returns
An event_token for later de-registering the event.

Definition at line 473 of file EventManager.cpp.

◆ onRoleUpdate() [2/2]

void DiscordCoreAPI::EventManager::onRoleUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 477 of file EventManager.cpp.

◆ onStageInstanceCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onStageInstanceCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnStageInstanceCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 654 of file EventManager.cpp.

◆ onStageInstanceCreation() [2/2]

void DiscordCoreAPI::EventManager::onStageInstanceCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 658 of file EventManager.cpp.

◆ onStageInstanceDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onStageInstanceDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnStageInstanceDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 670 of file EventManager.cpp.

◆ onStageInstanceDeletion() [2/2]

void DiscordCoreAPI::EventManager::onStageInstanceDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 674 of file EventManager.cpp.

◆ onStageInstanceUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onStageInstanceUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnStageInstanceUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnStageInstanceUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 662 of file EventManager.cpp.

◆ onStageInstanceUpdate() [2/2]

void DiscordCoreAPI::EventManager::onStageInstanceUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 666 of file EventManager.cpp.

◆ onThreadCreation() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadCreation ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadCreationData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnThreadCreationData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 321 of file EventManager.cpp.

◆ onThreadCreation() [2/2]

void DiscordCoreAPI::EventManager::onThreadCreation ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 325 of file EventManager.cpp.

◆ onThreadDeletion() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadDeletion ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadDeletionData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnThreadDeletionData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 337 of file EventManager.cpp.

◆ onThreadDeletion() [2/2]

void DiscordCoreAPI::EventManager::onThreadDeletion ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 341 of file EventManager.cpp.

◆ onThreadListSync() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadListSync ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadListSyncData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnThreadListSyncData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 345 of file EventManager.cpp.

◆ onThreadListSync() [2/2]

void DiscordCoreAPI::EventManager::onThreadListSync ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 349 of file EventManager.cpp.

◆ onThreadMembersUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadMembersUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadMembersUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnThreadMembersUpdateData structure as an argument
Returns
An event_token for later de-registering the event.

Definition at line 361 of file EventManager.cpp.

◆ onThreadMembersUpdate() [2/2]

void DiscordCoreAPI::EventManager::onThreadMembersUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 365 of file EventManager.cpp.

◆ onThreadMemberUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadMemberUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadMemberUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnThreadMemberUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 353 of file EventManager.cpp.

◆ onThreadMemberUpdate() [2/2]

void DiscordCoreAPI::EventManager::onThreadMemberUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 357 of file EventManager.cpp.

◆ onThreadUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onThreadUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnThreadUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnThreadUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 329 of file EventManager.cpp.

◆ onThreadUpdate() [2/2]

void DiscordCoreAPI::EventManager::onThreadUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 333 of file EventManager.cpp.

◆ onTypingStart() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onTypingStart ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnTypingStartData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnTypingStartData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 678 of file EventManager.cpp.

◆ onTypingStart() [2/2]

void DiscordCoreAPI::EventManager::onTypingStart ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 682 of file EventManager.cpp.

◆ onUserUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onUserUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnUserUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnUserUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 686 of file EventManager.cpp.

◆ onUserUpdate() [2/2]

void DiscordCoreAPI::EventManager::onUserUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 690 of file EventManager.cpp.

◆ onVoiceServerUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onVoiceServerUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnVoiceServerUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnVoiceServerUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 702 of file EventManager.cpp.

◆ onVoiceServerUpdate() [2/2]

void DiscordCoreAPI::EventManager::onVoiceServerUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 706 of file EventManager.cpp.

◆ onVoiceStateUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onVoiceStateUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnVoiceStateUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnVoiceStateUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 694 of file EventManager.cpp.

◆ onVoiceStateUpdate() [2/2]

void DiscordCoreAPI::EventManager::onVoiceStateUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 698 of file EventManager.cpp.

◆ onWebhookUpdate() [1/2]

DiscordCoreInternal::EventDelegateToken DiscordCoreAPI::EventManager::onWebhookUpdate ( const DiscordCoreInternal::EventDelegate< CoRoutine< void >, OnWebhookUpdateData handler)

For adding a function to handle this event.

Parameters
handlerA delegate taking an OnWebhookUpdateData structure as an argument.
Returns
An event_token for later de-registering the event.

Definition at line 710 of file EventManager.cpp.

◆ onWebhookUpdate() [2/2]

void DiscordCoreAPI::EventManager::onWebhookUpdate ( DiscordCoreInternal::EventDelegateToken token)

For removing a function from handling this event.

Parameters
tokenAn DiscordCoreInternal::EventDelegateToken, from the original event registration.

Definition at line 714 of file EventManager.cpp.


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