Skip to main content

CommunityEmojiEvents

CommunityEmojiEvents = object

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) => {
// ...
});