ClientEvents
Defined in: zaun/js/index.d.ts:880
Properties
Section titled “Properties”appsReady
Section titled “appsReady”appsReady: [
community:Community]
Defined in: zaun/js/index.d.ts:921
The community’s bots and their commands loaded (just after ready).
autocomplete
Section titled “autocomplete”autocomplete: [
suggestions:object]
Defined in: zaun/js/index.d.ts:934
botRemove
Section titled “botRemove”botRemove: [
community:Community,botId:string,member:Member]
Defined in: zaun/js/index.d.ts:928
botUpdate
Section titled “botUpdate”Defined in: zaun/js/index.d.ts:927
change
Section titled “change”change: []
Defined in: zaun/js/index.d.ts:918
channelCreate
Section titled “channelCreate”channelCreate: [
channel:Channel]
Defined in: zaun/js/index.d.ts:888
channelDelete
Section titled “channelDelete”channelDelete: [
channel:Channel]
Defined in: zaun/js/index.d.ts:890
channelUpdate
Section titled “channelUpdate”channelUpdate: [
channel:Channel]
Defined in: zaun/js/index.d.ts:889
commandsUpdate
Section titled “commandsUpdate”commandsUpdate: [
community:Community,botId:string]
Defined in: zaun/js/index.d.ts:926
communityDelete
Section titled “communityDelete”communityDelete: [
community:Community,reason:object]
Defined in: zaun/js/index.d.ts:902
This member left, or was kicked or banned, and the community is forgotten here. A
removal while this client was away arrives on its next session (a host after 0.4.0 says
it again after the welcome; a 0.4.0 host does not, and the community stays unreachable
until it is joined again). reason.t: "left", "kicked", "banned", "rejected", "expired".
communityMoved
Section titled “communityMoved”communityMoved: [
community:Community,host:string]
Defined in: zaun/js/index.d.ts:908
communityMoveRefused
Section titled “communityMoveRefused”communityMoveRefused: [
community:Community,code:string]
Defined in: zaun/js/index.d.ts:909
communityMoving
Section titled “communityMoving”communityMoving: [
community:Community,host:string]
Defined in: zaun/js/index.d.ts:907
communityUpdate
Section titled “communityUpdate”communityUpdate: [
community:Community]
Defined in: zaun/js/index.d.ts:897
disconnect
Section titled “disconnect”disconnect: [
community:Community]
Defined in: zaun/js/index.d.ts:910
dmCreate
Section titled “dmCreate”Defined in: zaun/js/index.d.ts:912
DM: a direct message became known (opened by either side, or on load).
dmDelete
Section titled “dmDelete”dmDelete: [
channel:Channel]
Defined in: zaun/js/index.d.ts:914
DM: this member closed a direct message.
interactionCreate
Section titled “interactionCreate”interactionCreate: [
interaction:Interaction]
Defined in: zaun/js/index.d.ts:930
As a bot: someone used one of this bot’s commands, components or modals.
interactionFail
Section titled “interactionFail”interactionFail: [
failure:object]
Defined in: zaun/js/index.d.ts:935
interactionReply
Section titled “interactionReply”interactionReply: [
reply:object]
Defined in: zaun/js/index.d.ts:932
A bot’s ephemeral reply: only this member sees it, nothing keeps it; key by message.id.
memberAdd
Section titled “memberAdd”memberAdd: [
member:Member]
Defined in: zaun/js/index.d.ts:894
memberRemove
Section titled “memberRemove”memberRemove: [
member:Member,reason:unknown]
Defined in: zaun/js/index.d.ts:896
memberUpdate
Section titled “memberUpdate”memberUpdate: [
member:Member]
Defined in: zaun/js/index.d.ts:895
messageCreate
Section titled “messageCreate”messageCreate: [
message:Message]
Defined in: zaun/js/index.d.ts:882
messageDelete
Section titled “messageDelete”Defined in: zaun/js/index.d.ts:884
messageDeleteBulk
Section titled “messageDeleteBulk”Defined in: zaun/js/index.d.ts:885
messageReactionAdd
Section titled “messageReactionAdd”messageReactionAdd: [
reaction:object,member:Member]
Defined in: zaun/js/index.d.ts:886
messageReactionRemove
Section titled “messageReactionRemove”messageReactionRemove: [
reaction:object,member:Member]
Defined in: zaun/js/index.d.ts:887
messageUpdate
Section titled “messageUpdate”messageUpdate: [
message:Message]
Defined in: zaun/js/index.d.ts:883
modalOpen
Section titled “modalOpen”modalOpen: [
modal:object]
Defined in: zaun/js/index.d.ts:933
offline
Section titled “offline”offline: []
Defined in: zaun/js/index.d.ts:915
online
Section titled “online”online: []
Defined in: zaun/js/index.d.ts:916
presencesReady
Section titled “presencesReady”presencesReady: [
community:Community]
Defined in: zaun/js/index.d.ts:923
presence: who is online loaded (after ready).
presenceUpdate
Section titled “presenceUpdate”presenceUpdate: [
presence:Presence&object]
Defined in: zaun/js/index.d.ts:925
presence: a member’s status or activity changed.
raw: [
update:object]
Defined in: zaun/js/index.d.ts:919
ready: [
community:Community]
Defined in: zaun/js/index.d.ts:881
roleCreate
Section titled “roleCreate”roleCreate: [
role:Role]
Defined in: zaun/js/index.d.ts:891
roleDelete
Section titled “roleDelete”roleDelete: [
role:Role]
Defined in: zaun/js/index.d.ts:893
roleUpdate
Section titled “roleUpdate”roleUpdate: [
role:Role]
Defined in: zaun/js/index.d.ts:892
typingStart
Section titled “typingStart”typingStart: [
typing:object]
Defined in: zaun/js/index.d.ts:906
Someone else is typing: members in a named channel; in an anonymous one members is
empty and count is 1, 2 or 3 (three or more).
voiceStateUpdate
Section titled “voiceStateUpdate”voiceStateUpdate: [
state:VoiceState]
Defined in: zaun/js/index.d.ts:903
warning
Section titled “warning”warning: [
warning:object]
Defined in: zaun/js/index.d.ts:917