ClientEvents: { announcementCommentCreated: [comment
: AnnouncementComment]; announcementCommentDeleted: [comment
: AnnouncementComment]; announcementCommentReact: [reaction
: AnnouncementCommentReaction]; announcementCommentUnreact: [reaction
: AnnouncementCommentReaction]; announcementCommentUpdated: [comment
: AnnouncementComment]; announcementCreated: [announcement
: Announcement]; announcementDeleted: [announcement
: Announcement]; announcementReact: [reaction
: AnnouncementReaction]; announcementUnreact: [reaction
: AnnouncementReaction]; announcementUpdated: [announcement
: Announcement]; botServerAdded: [server
: Server, invitedBy
: string]; botServerRemoved: [server
: Server, removedBy
: string]; calendarEventCommentCreated: [ comment
: CalendarEventComment, serverId
: string, ]; calendarEventCommentDeleted: [ comment
: CalendarEventComment, serverId
: string, ]; calendarEventCommentReact: [ reaction
: CalendarEventCommentReaction, serverId
: string, ]; calendarEventCommentUnreact: [ reaction
: CalendarEventCommentReaction, serverId
: string, ]; calendarEventCommentUpdated: [ comment
: CalendarEventComment, serverId
: string, ]; calendarEventCreated: [event
: CalendarEvent]; calendarEventDeleted: [event
: CalendarEvent]; calendarEventReact: [reaction
: CalendarEventReaction, serverId
: string]; calendarEventRsvpDeleted: [rsvp
: CalendarEventRsvp]; calendarEventRsvpUpdated: [rsvps
: CalendarEventRsvp[]]; calendarEventSeriesDeleted: [series
: CalendarEventSeries, eventId
?: number]; calendarEventSeriesUpdated: [series
: CalendarEventSeries, eventId
?: number]; calendarEventUnreact: [reaction
: CalendarEventReaction, serverId
: string]; calendarEventUpdated: [event
: CalendarEvent]; categoryCreated: [category
: Category]; categoryDeleted: [category
: Category]; categoryRolePermissionCreated: [rolePermission
: CategoryRolePermission]; categoryRolePermissionDeleted: [rolePermission
: CategoryRolePermission]; categoryRolePermissionUpdated: [rolePermission
: CategoryRolePermission]; categoryUpdated: [category
: Category]; categoryUserPermissionCreated: [userPermission
: CategoryUserPermission]; categoryUserPermissionDeleted: [userPermission
: CategoryUserPermission]; categoryUserPermissionUpdated: [userPermission
: CategoryUserPermission]; channelArchived: [channel
: Channel]; channelCreated: [channel
: Channel]; channelDeleted: [channel
: Channel]; channelRestored: [channel
: Channel]; channelRolePermissionCreated: [rolePermission
: ChannelRolePermission]; channelRolePermissionDeleted: [rolePermission
: ChannelRolePermission]; channelRolePermissionUpdated: [rolePermission
: ChannelRolePermission]; channelUpdated: [channel
: Channel]; channelUserPermissionCreated: [userPermission
: ChannelUserPermission]; channelUserPermissionDeleted: [userPermission
: ChannelUserPermission]; channelUserPermissionUpdated: [userPermission
: ChannelUserPermission]; docCommentCreated: [comment
: DocComment]; docCommentDeleted: [comment
: DocComment]; docCommentReact: [reaction
: DocCommentReaction, serverId
: string]; docCommentUnreact: [reaction
: DocCommentReaction, serverId
: string]; docCommentUpdated: [comment
: DocComment]; docCreated: [doc
: Doc]; docDeleted: [doc
: Doc]; docReact: [reaction
: DocReaction, serverId
: string]; docUnreact: [reaction
: DocReaction, serverId
: string]; docUpdated: [doc
: Doc]; forumTopicCommentCreated: [comment
: ForumTopicComment]; forumTopicCommentDeleted: [comment
: ForumTopicComment]; forumTopicCommentReact: [ reaction
: ForumTopicCommentReaction, serverId
: string, ]; forumTopicCommentUnreact: [ reaction
: ForumTopicCommentReaction, serverId
: string, ]; forumTopicCommentUpdated: [comment
: ForumTopicComment]; forumTopicCreated: [topic
: ForumTopic]; forumTopicDeleted: [topic
: ForumTopic]; forumTopicLocked: [topic
: ForumTopic]; forumTopicPinned: [topic
: ForumTopic]; forumTopicReacted: [reaction
: ForumTopicReaction]; forumTopicUnlocked: [topic
: ForumTopic]; forumTopicUnpinned: [topic
: ForumTopic]; forumTopicUnreacted: [reaction
: ForumTopicReaction]; forumTopicUpdated: [topic
: ForumTopic]; groupCreated: [group
: Group]; groupDeleted: [group
: Group]; groupUpdated: [group
: Group]; listItemCompleted: [item
: ListItem]; listItemCreated: [item
: ListItem]; listItemDeleted: [item
: ListItem]; listItemUncompleted: [item
: ListItem]; listItemUpdated: [item
: ListItem]; memberBanned: [ban
: Ban, serverId
: string]; memberJoined: [member
: Member, serverId
: string, memberCount
: number]; memberRemoved: [ userId
: string, serverId
: string, kicked
: boolean, banned
: boolean, ]; membersRolesUpdated: [ serverId
: string, members
: { roleIds: number[]; userId: string }[], ]; memberUnbanned: [ban
: Ban, serverId
: string]; memberUpdated: [ member
: { nickname?: string; serverId: string; socialLink?: SocialLink; userId: string; }, ]; messageCreated: [message
: Message]; messageDeleted: [message
: Message]; messagePinned: [message
: Message]; messageReact: [reaction
: MessageReaction, serverId
: string]; messageUnpinned: [message
: Message]; messageUnreact: [ reaction
: MessageReaction, serverId
: string, count
: number, ]; messageUpdated: [message
: Message]; ready: [client
: Client]; roleCreated: [role
: Role]; roleDeleted: [role
: Role]; roleUpdated: [role
: Role]; userStatusCreated: [status
: UserStatus, userId
: string, expiresAt
?: Date]; userStatusDeleted: [status
: UserStatus, userId
: string]; webhookCreated: [webhook
: Webhook]; webhookUpdated: [webhook
: Webhook];} Type declaration
announcementCommentCreated: [comment: AnnouncementComment]
announcementCommentDeleted: [comment: AnnouncementComment]
announcementCommentUpdated: [comment: AnnouncementComment]
announcementCreated: [announcement: Announcement]
announcementDeleted: [announcement: Announcement]
announcementUpdated: [announcement: Announcement]
botServerAdded: [server: Server, invitedBy: string]
botServerRemoved: [server: Server, removedBy: string]
calendarEventCommentCreated: [comment: CalendarEventComment, serverId: string]
calendarEventCommentDeleted: [comment: CalendarEventComment, serverId: string]
calendarEventCommentReact: [reaction: CalendarEventCommentReaction, serverId: string]
calendarEventCommentUnreact: [reaction: CalendarEventCommentReaction, serverId: string]
calendarEventCommentUpdated: [comment: CalendarEventComment, serverId: string]
calendarEventCreated: [event: CalendarEvent]
calendarEventDeleted: [event: CalendarEvent]
calendarEventReact: [reaction: CalendarEventReaction, serverId: string]
calendarEventRsvpUpdated: [rsvps: CalendarEventRsvp[]]
calendarEventSeriesDeleted: [series: CalendarEventSeries, eventId?: number]
calendarEventSeriesUpdated: [series: CalendarEventSeries, eventId?: number]
calendarEventUnreact: [reaction: CalendarEventReaction, serverId: string]
calendarEventUpdated: [event: CalendarEvent]
categoryCreated: [category: Category]
categoryDeleted: [category: Category]
categoryRolePermissionCreated: [rolePermission: CategoryRolePermission]
categoryRolePermissionDeleted: [rolePermission: CategoryRolePermission]
categoryRolePermissionUpdated: [rolePermission: CategoryRolePermission]
categoryUpdated: [category: Category]
categoryUserPermissionCreated: [userPermission: CategoryUserPermission]
categoryUserPermissionDeleted: [userPermission: CategoryUserPermission]
categoryUserPermissionUpdated: [userPermission: CategoryUserPermission]
channelArchived: [channel: Channel]
channelCreated: [channel: Channel]
channelDeleted: [channel: Channel]
channelRestored: [channel: Channel]
channelRolePermissionCreated: [rolePermission: ChannelRolePermission]
channelRolePermissionDeleted: [rolePermission: ChannelRolePermission]
channelRolePermissionUpdated: [rolePermission: ChannelRolePermission]
channelUpdated: [channel: Channel]
channelUserPermissionCreated: [userPermission: ChannelUserPermission]
channelUserPermissionDeleted: [userPermission: ChannelUserPermission]
channelUserPermissionUpdated: [userPermission: ChannelUserPermission]
docCommentCreated: [comment: DocComment]
docCommentDeleted: [comment: DocComment]
docCommentReact: [reaction: DocCommentReaction, serverId: string]
docCommentUnreact: [reaction: DocCommentReaction, serverId: string]
docCommentUpdated: [comment: DocComment]
docCreated: [doc: Doc]
docDeleted: [doc: Doc]
docReact: [reaction: DocReaction, serverId: string]
docUnreact: [reaction: DocReaction, serverId: string]
docUpdated: [doc: Doc]
forumTopicCommentCreated: [comment: ForumTopicComment]
forumTopicCommentDeleted: [comment: ForumTopicComment]
forumTopicCommentReact: [reaction: ForumTopicCommentReaction, serverId: string]
forumTopicCommentUnreact: [reaction: ForumTopicCommentReaction, serverId: string]
forumTopicCommentUpdated: [comment: ForumTopicComment]
forumTopicCreated: [topic: ForumTopic]
forumTopicDeleted: [topic: ForumTopic]
forumTopicLocked: [topic: ForumTopic]
forumTopicPinned: [topic: ForumTopic]
forumTopicUnlocked: [topic: ForumTopic]
forumTopicUnpinned: [topic: ForumTopic]
forumTopicUpdated: [topic: ForumTopic]
groupCreated: [group: Group]
groupDeleted: [group: Group]
groupUpdated: [group: Group]
listItemCompleted: [item: ListItem]
listItemCreated: [item: ListItem]
listItemDeleted: [item: ListItem]
listItemUncompleted: [item: ListItem]
listItemUpdated: [item: ListItem]
memberBanned: [ban: Ban, serverId: string]
memberJoined: [member: Member, serverId: string, memberCount: number]
memberRemoved: [userId: string, serverId: string, kicked: boolean, banned: boolean]
membersRolesUpdated: [serverId: string, members: { roleIds: number[]; userId: string }[]]
memberUnbanned: [ban: Ban, serverId: string]
memberUpdated: [
member: {
nickname?: string;
serverId: string;
socialLink?: SocialLink;
userId: string;
},
]
messageCreated: [message: Message]
messageDeleted: [message: Message]
messagePinned: [message: Message]
messageReact: [reaction: MessageReaction, serverId: string]
messageUnpinned: [message: Message]
messageUnreact: [reaction: MessageReaction, serverId: string, count: number]
messageUpdated: [message: Message]
ready: [client: Client]
roleCreated: [role: Role]
roleDeleted: [role: Role]
roleUpdated: [role: Role]
userStatusCreated: [status: UserStatus, userId: string, expiresAt?: Date]
userStatusDeleted: [status: UserStatus, userId: string]
webhookCreated: [webhook: Webhook]
webhookUpdated: [webhook: Webhook]