ClientEvents: {
botServerCreated(server, user) => unknown;
botServerDeleted(server, user) => unknown;
calendarEventCreated(calendarEvent) => unknown;
calendarEventDeleted(calendarEvent) => unknown;
calendarEventUpdated(calendarEvent, oldCalendar) => unknown;
calendarRsvpDeleted(calendarEventRsvp) => unknown;
calendarRsvpManyUpdated(calendarRsvpsEvent) => unknown;
calendarRsvpUpdated(calendarEventRsvp, oldCalendarRsvp) => unknown;
channelCreated(channel) => unknown;
channelDeleted(channel) => unknown;
channelUpdated(channel, oldChannel) => unknown;
debug(data) => unknown;
docCreated(doc) => unknown;
docDeleted(doc) => unknown;
docUpdated(newDoc, oldDoc) => unknown;
error(reason, err) => unknown;
exit() => unknown;
forumTopicCreated(topic) => unknown;
forumTopicDeleted(topic) => unknown;
forumTopicLocked(topic) => unknown;
forumTopicPinned(topic) => unknown;
forumTopicUnlocked(topic) => unknown;
forumTopicUnpinned(topic) => unknown;
forumTopicUpdated(topic, oldTopic) => unknown;
listItemCompleted(item) => unknown;
listItemCreated(item) => unknown;
listItemDeleted(item) => unknown;
listItemUncompleted(item) => unknown;
listItemUpdated(newItem, oldItem) => unknown;
memberBanned(ban) => unknown;
memberJoined(member) => unknown;
memberRemoved(event) => unknown;
memberSocialLinkCreated(serverId, socialLink) => unknown;
memberSocialLinkDeleted(serverId, socialLink) => unknown;
memberSocialLinkUpdated(serverId, socialLink) => unknown;
memberUnbanned(event) => unknown;
memberUpdated(event) => unknown;
messageCreated(message) => unknown;
messageDeleted(event) => unknown;
messageReactionCreated(reaction) => unknown;
messageReactionDeleted(event) => unknown;
messageUpdated(message, oldMessage) => unknown;
ready() => unknown;
rolesUpdated(updatedMembers, oldMembers) => unknown;
serverCreated(server) => unknown;
unknownGatewayEvent(data) => unknown;
webhookCreated(webhook) => unknown;
webhookUpdated(webhook, oldWebhook) => unknown;
}
Type declaration
-
botServerCreated:function
- botServerCreated(server, user): unknown
-
Returns unknown
-
botServerDeleted:function
- botServerDeleted(server, user): unknown
-
Returns unknown
-
calendarEventCreated:function
- calendarEventCreated(calendarEvent): unknown
-
Returns unknown
-
calendarEventDeleted:function
- calendarEventDeleted(calendarEvent): unknown
-
Returns unknown
-
calendarEventUpdated:function
- calendarEventUpdated(calendarEvent, oldCalendar): unknown
-
Returns unknown
-
calendarRsvpDeleted:function
- calendarRsvpDeleted(calendarEventRsvp): unknown
-
Returns unknown
-
calendarRsvpManyUpdated:function
- calendarRsvpManyUpdated(calendarRsvpsEvent): unknown
-
Returns unknown
-
calendarRsvpUpdated:function
- calendarRsvpUpdated(calendarEventRsvp, oldCalendarRsvp): unknown
-
Returns unknown
-
channelCreated:function
- channelCreated(channel): unknown
-
Returns unknown
-
channelDeleted:function
- channelDeleted(channel): unknown
-
Returns unknown
-
channelUpdated:function
- channelUpdated(channel, oldChannel): unknown
-
Returns unknown
-
debug:function
- debug(data): unknown
-
Returns unknown
-
docCreated:function
- docCreated(doc): unknown
-
Returns unknown
-
docDeleted:function
- docDeleted(doc): unknown
-
Returns unknown
-
docUpdated:function
- docUpdated(newDoc, oldDoc): unknown
-
Returns unknown
-
error:function
- error(reason, err): unknown
-
Parameters
-
reason: string
-
err: null | Error
Returns unknown
-
exit:function
- exit(): unknown
-
Returns unknown
-
forumTopicCreated:function
- forumTopicCreated(topic): unknown
-
Returns unknown
-
forumTopicDeleted:function
- forumTopicDeleted(topic): unknown
-
Returns unknown
-
forumTopicLocked:function
- forumTopicLocked(topic): unknown
-
Returns unknown
-
forumTopicPinned:function
- forumTopicPinned(topic): unknown
-
Returns unknown
-
forumTopicUnlocked:function
- forumTopicUnlocked(topic): unknown
-
Returns unknown
-
forumTopicUnpinned:function
- forumTopicUnpinned(topic): unknown
-
Returns unknown
-
forumTopicUpdated:function
- forumTopicUpdated(topic, oldTopic): unknown
-
Returns unknown
-
listItemCompleted:function
- listItemCompleted(item): unknown
-
Returns unknown
-
listItemCreated:function
- listItemCreated(item): unknown
-
Returns unknown
-
listItemDeleted:function
- listItemDeleted(item): unknown
-
Returns unknown
-
listItemUncompleted:function
- listItemUncompleted(item): unknown
-
Returns unknown
-
listItemUpdated:function
- listItemUpdated(newItem, oldItem): unknown
-
Returns unknown
-
memberBanned:function
- memberBanned(ban): unknown
-
Returns unknown
-
memberJoined:function
- memberJoined(member): unknown
-
Returns unknown
-
memberRemoved:function
- memberRemoved(event): unknown
-
Parameters
-
event: MemberRemovedEvent
Returns unknown
-
memberSocialLinkCreated:function
- memberSocialLinkCreated(serverId, socialLink): unknown
-
Returns unknown
-
memberSocialLinkDeleted:function
- memberSocialLinkDeleted(serverId, socialLink): unknown
-
Returns unknown
-
memberSocialLinkUpdated:function
- memberSocialLinkUpdated(serverId, socialLink): unknown
-
Returns unknown
-
memberUnbanned:function
- memberUnbanned(event): unknown
-
Parameters
-
event: MemberUnbannedEvent
Returns unknown
-
memberUpdated:function
- memberUpdated(event): unknown
-
Parameters
-
event: MemberUpdatedEvent
Returns unknown
-
messageCreated:function
- messageCreated(message): unknown
-
Returns unknown
-
messageDeleted:function
- messageDeleted(event): unknown
-
Parameters
-
event: MessageDeletedEvent
Returns unknown
-
messageReactionCreated:function
- messageReactionCreated(reaction): unknown
-
Returns unknown
-
messageReactionDeleted:function
- messageReactionDeleted(event): unknown
-
Parameters
-
event: MessageReactionDeletedEvent
Returns unknown
-
messageUpdated:function
- messageUpdated(message, oldMessage): unknown
-
Returns unknown
-
ready:function
- ready(): unknown
-
Returns unknown
-
rolesUpdated:function
- rolesUpdated(updatedMembers, oldMembers): unknown
-
Parameters
-
updatedMembers: {
members: {
roleIds: number[];
userId: string;
}[];
serverId: string;
}
-
members: {
roleIds: number[];
userId: string;
}[]
-
serverId: string
-
oldMembers: Member[]
Returns unknown
-
serverCreated:function
- serverCreated(server): unknown
-
Parameters
-
server: {
serverId: string;
}
Returns unknown
-
unknownGatewayEvent:function
- unknownGatewayEvent(data): unknown
-
Returns unknown
-
webhookCreated:function
- webhookCreated(webhook): unknown
-
Returns unknown
-
webhookUpdated:function
- webhookUpdated(webhook, oldWebhook): unknown
-
Returns unknown