The events that belong to the client.

Hierarchy

  • ClientEvents

Properties

calendarEventCreate: [event: CalendarEvent]

Emitted when a calendar event is created.

calendarEventDelete: [event: CalendarEvent]

Emitted when a calendar event is deleted.

calendarEventEdit: [newCalendarEvent: CalendarEvent, oldCalendarEvent?: CalendarEvent]

Emitted when a calendar event is edited.

calendarEventRsvpDelete: [calendarEventRsvp: CalendarEventRsvp]

Emitted when a calendar event RSVP is deleted.

calendarEventRsvpEdit: [newCalendarEventRsvp: CalendarEventRsvp, oldCalendarEventRsvp?: CalendarEventRsvp]

Emitted when a calendar event RSVP is edited.

calendarEventRsvpsEdit: [newCalendarEventRsvps: Collection<string, CalendarEventRsvp>, oldCalendarEventRsvps: Collection<string, CalendarEventRsvp>]

Emitted when calendar event RSVPs are edited.

channelCreate: [channel: Channel]

Emitted when a channel is created.

channelDelete: [channel: Channel]

Emitted when a channel is deleted.

channelEdit: [newChannel: Channel, oldChannel?: Channel]

Emitted when a channel is edited.

debug: [client: Client, data: any]

Emitted when debug data is received.

disconnect: [client: Client]

Emitted when the client is disconnected from Guilded.

docCreate: [doc: Doc]

Emitted when a doc is created.

docDelete: [doc: Doc]

Emitted when a doc is deleted.

docEdit: [newDoc: Doc, oldDoc?: Doc]

Emitted when a doc is edited.

forumTopicCreate: [forumTopic: ForumTopic]

Emitted when a forum topic is created.

forumTopicDelete: [forumTopic: ForumTopic]

Emitted when a forum topic is deleted.

forumTopicEdit: [newForumTopic: ForumTopic, oldForumTopic?: ForumTopic]

Emitted when a forum topic is edited.

forumTopicLock: [forumTopic: ForumTopic]

Emitted when a forum topic is locked.

forumTopicPin: [forumTopic: ForumTopic]

Emitted when a forum topic is pinned.

forumTopicUnlock: [forumTopic: ForumTopic]

Emitted when a forum topic is unlocked.

forumTopicUnpin: [forumTopic: ForumTopic]

Emitted when a forum topic is unpinned.

listItemComplete: [listItem: ListItem]

Emitted when a list item is completed.

listItemCreate: [listItem: ListItem]

Emitted when a list item is created.

listItemDelete: [listItem: ListItem]

Emitted when a list item is deleted.

listItemEdit: [newListItem: ListItem, oldListItem?: ListItem]

Emitted when a list item is edited.

listItemUncomplete: [listItem: ListItem]

Emitted when a list item is uncompleted.

messageCreate: [message: Message]

Emitted when a message is created.

messageDelete: [message: APIMessageSummary | Message]

Emitted when a message is deleted.

messageEdit: [newMessage: Message, oldMessage?: Message]

Emitted when a message is edited.

messageReactionAdd: [reaction: MessageReaction]

Emitted when a message reaction is added.

messageReactionRemove: [reaction: MessageReaction]

Emitted when a message reaction is removed.

ready: [client: Client]

Emitted when the client is ready to use.

reconnect: [client: Client]

Emitted when the client is reconnected to Guilded.

serverAdd: [server: Server, addedBy: ServerMember]

Emitted when the bot is added to a server.

serverMemberAdd: [serverMember: ServerMember]

Emitted when a member joins a server.

serverMemberBan: [serverBan: ServerBan]

Emitted when a member is banned from a server.

serverMemberEdit: [newServerMember: ServerMember, oldServerMember?: ServerMember]

Emitted when a server member is edited.

serverMemberRemove: [data: {
    isBan?: boolean;
    isKick?: boolean;
    serverId: string;
    userId: string;
}, server: Server]

Emitted when a member leaves a server.

serverMemberUnban: [serverBan: ServerBan]

Emitted when a member is unbanned from a server.

serverRemove: [server: Server, removedBy?: ServerMember]

Emitted when the bot is removed from a server.

serverRolesEdit: [newServerMembers: Collection<string, ServerMember>, oldServerMembers: Collection<string, ServerMember>]

Emitted when server roles are edited.

webhookCreate: [webhook: Webhook]

Emitted when a webhook is created.

webhookEdit: [newWebhook: Webhook, oldWebhook?: Webhook]

Emitted when a webhook is edited.