Skip to main content

CommunityEmojiEvents

CommunityEmojiEvents = object

Event map type for CommunityEmojiClient. This type defines the event signatures for community emoji-related events.

For event name constants, see CommunityEmojiEvent.

Properties​

communityEmoji.created​

communityEmoji.created: (evt: CommunityEmojiCreatedEvent) => void

Parameters​

ParameterType
evtCommunityEmojiCreatedEvent

Returns​

void

Example​

import { rootServer, CommunityEmojiEvent, CommunityEmojiCreatedEvent } from "@rootsdk/server-bot";
rootServer.community.communityEmoji.on(CommunityEmojiEvent.CommunityEmojiCreated, (evt: CommunityEmojiCreatedEvent) => {
// ...
});

communityEmoji.deleted​

communityEmoji.deleted: (evt: CommunityEmojiDeletedEvent) => void

Parameters​

ParameterType
evtCommunityEmojiDeletedEvent

Returns​

void

Example​

import { rootServer, CommunityEmojiEvent, CommunityEmojiDeletedEvent } from "@rootsdk/server-bot";
rootServer.community.communityEmoji.on(CommunityEmojiEvent.CommunityEmojiDeleted, (evt: CommunityEmojiDeletedEvent) => {
// ...
});