[{"name":"onAuditLogEntry","description":"Fires when an audit log entry is created in a guild. Requires the GUILD_MODERATION intent. Entry fields are read with `Zoption{key}`.","when":"Any auditable action occurs","context":{"author_id":"User ID of whoever performed the action","username":"Empty","channel_id":"Channel ID if the entry targets one, otherwise empty","guild_id":"Guild ID","message":"Empty. Zoption keys: entryID, action (e.g. Member(Kick)), actionCode, targetID, reason, channelID, automodRuleName","trigger_message_id":"Audit log entry ID"}},{"name":"onAutomodAction","description":"Fires when an auto moderation rule takes action, such as blocking a message. Requires the AUTO_MODERATION_EXECUTION intent. Action fields are read with `Zoption{key}`.","when":"An automod rule blocks or flags content","context":{"author_id":"User ID who triggered the rule","username":"Empty","channel_id":"Channel ID if the action targets one, otherwise empty","guild_id":"Guild ID","message":"Empty. Zoption keys: ruleID, action (e.g. BlockMessage), triggerType (e.g. Keyword), messageID","trigger_message_id":"Message ID if the action targets a message"}},{"name":"onAutomodRuleCreate","description":"Fires when an auto moderation rule is created. Requires the AUTO_MODERATION_CONFIGURATION intent. Rule fields are read with `Zoption{key}`.","when":"Automod rule is created","context":{"author_id":"User ID who created the rule","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty. Zoption keys: ruleID, name, eventType (e.g. MessageSend), trigger, enabled","trigger_message_id":"Rule ID"}},{"name":"onAutomodRuleDelete","description":"Fires when an auto moderation rule is deleted. Requires the AUTO_MODERATION_CONFIGURATION intent. Rule fields are read with `Zoption{key}`.","when":"Automod rule is deleted","context":{"author_id":"User ID who deleted the rule","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty. Zoption keys: ruleID, name, eventType (e.g. MessageSend), trigger, enabled","trigger_message_id":"Rule ID"}},{"name":"onAutomodRuleUpdate","description":"Fires when an auto moderation rule is updated. Requires the AUTO_MODERATION_CONFIGURATION intent. Rule fields are read with `Zoption{key}`.","when":"Automod rule is updated","context":{"author_id":"User ID who updated the rule","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty. Zoption keys: ruleID, name, eventType (e.g. MessageSend), trigger, enabled","trigger_message_id":"Rule ID"}},{"name":"onBanAdd","description":"Fires when a user is banned from a guild.","when":"User is banned","context":{"author_id":"Banned user ID","username":"Banned user username","guild_id":"Guild ID","channel_id":"Empty","message":"Empty"}},{"name":"onBanRemove","description":"Fires when a user's ban is removed from a guild.","when":"User is unbanned","context":{"author_id":"Unbanned user ID","username":"Unbanned user username","guild_id":"Guild ID","channel_id":"Empty","message":"Empty"}},{"name":"onBoostAdd","description":"Fires when the guild's active boost count increases.","when":"Server receives a new Nitro boost","context":{"author_id":"Empty","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty"}},{"name":"onBoostRemove","description":"Fires when the guild's active boost count decreases.","when":"Server loses a Nitro boost","context":{"author_id":"Empty","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty"}},{"name":"onBotJoin","description":"Fires when the bot joins a new guild while it is online.","when":"Bot is added to a server","context":{"author_id":"Empty","username":"Empty","guild_id":"Guild ID","channel_id":"Empty","message":"Empty"}},{"name":"onBotLeave","description":"Fires when the bot leaves or is removed from a guild.","when":"Bot leaves the server","context":{"author_id":"Empty","username":"Empty","guild_id":"Guild ID","channel_id":"Empty","message":"Empty"}},{"name":"onChannelCreate","description":"Fires when a channel is created in a guild.","when":"Channel is created","context":{"author_id":"Empty","username":"Empty","channel_id":"New channel ID","guild_id":"Guild ID","message":"Empty"}},{"name":"onChannelDelete","description":"Fires when a channel is deleted from a guild.","when":"Channel is deleted","context":{"author_id":"Empty","username":"Empty","channel_id":"Deleted channel ID","guild_id":"Guild ID","message":"Empty","trigger_message_id":"Channel ID"}},{"name":"onChannelUpdate","description":"Fires when a channel is updated in a guild.","when":"Channel is modified","context":{"author_id":"Empty","username":"Empty","channel_id":"Channel ID","guild_id":"Guild ID","message":"Empty","trigger_message_id":"Channel ID"}},{"name":"onGuildUpdate","description":"Fires when guild information is updated.","when":"Guild settings change","context":{"author_id":"Empty","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty"}},{"name":"onMemberJoin","description":"Fires when a user joins a guild.","when":"User joins the server","context":{"author_id":"User ID who joined","username":"Username of the user","guild_id":"Guild ID","channel_id":"Empty","message":"Empty"}},{"name":"onMemberLeave","description":"Fires when a user leaves or is kicked/banned from a guild.","when":"User leaves the server","context":{"author_id":"User ID who left","username":"Username of the user","guild_id":"Guild ID","channel_id":"Empty","message":"Empty"}},{"name":"onMemberUpdate","description":"Fires when a member's information is updated (nickname, roles, etc.).","when":"Member data changes","context":{"author_id":"Member user ID","username":"Member username","guild_id":"Guild ID","channel_id":"Empty","message":"Empty"}},{"name":"onMessage","description":"Fires when any message is sent in a channel the bot can see.","when":"Every message (including bot messages)","context":{"author_id":"Message author ID","username":"Message author username","channel_id":"Channel ID where message was sent","guild_id":"Guild ID (empty for DMs)","message":"Full message content","trigger_message_id":"Message ID"}},{"name":"onMessageDelete","description":"Fires when a message is deleted.","when":"Message is deleted","context":{"author_id":"Empty","username":"Empty","channel_id":"Channel ID","guild_id":"Guild ID (if applicable)","message":"Empty","trigger_message_id":"Deleted message ID"}},{"name":"onMessageEdit","description":"Fires when a message is edited.","when":"Message content is edited","context":{"author_id":"Empty","username":"Empty","channel_id":"Channel ID","guild_id":"Guild ID (if applicable)","message":"New message content","trigger_message_id":"Edited message ID"}},{"name":"onPollVoteAdd","description":"Fires when a user votes on a poll. Requires the GUILD_MESSAGE_POLLS intent. Poll fields are read with `Zoption{key}`.","when":"A vote is added to a poll","context":{"author_id":"User ID who voted","username":"Empty","channel_id":"Channel ID of the poll","guild_id":"Guild ID (if applicable)","message":"Empty. Zoption keys: messageID, answerID","trigger_message_id":"Poll message ID"}},{"name":"onPollVoteRemove","description":"Fires when a user removes their vote from a poll. Requires the GUILD_MESSAGE_POLLS intent. Poll fields are read with `Zoption{key}`.","when":"A vote is removed from a poll","context":{"author_id":"User ID who un-voted","username":"Empty","channel_id":"Channel ID of the poll","guild_id":"Guild ID (if applicable)","message":"Empty. Zoption keys: messageID, answerID","trigger_message_id":"Poll message ID"}},{"name":"onReactionAdd","description":"Fires when a reaction is added to a message.","when":"Reaction is added","context":{"author_id":"User ID who reacted","username":"Empty","channel_id":"Channel ID","guild_id":"Guild ID (if applicable)","message":"Empty","trigger_message_id":"Message ID that was reacted to"}},{"name":"onReactionRemove","description":"Fires when a reaction is removed from a message.","when":"Reaction is removed","context":{"author_id":"User ID who removed reaction","username":"Empty","channel_id":"Channel ID","guild_id":"Guild ID (if applicable)","message":"Empty","trigger_message_id":"Message ID that had reaction removed"}},{"name":"onRoleCreate","description":"Fires when a role is created in a guild.","when":"Role is created","context":{"author_id":"Empty","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty","trigger_message_id":"Role ID"}},{"name":"onRoleDelete","description":"Fires when a role is deleted from a guild.","when":"Role is deleted","context":{"author_id":"Empty","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty","trigger_message_id":"Deleted role ID"}},{"name":"onRoleUpdate","description":"Fires when a role is updated in a guild.","when":"Role is modified","context":{"author_id":"Empty","username":"Empty","channel_id":"Empty","guild_id":"Guild ID","message":"Empty","trigger_message_id":"Role ID"}},{"name":"onStageInstanceCreate","description":"Fires when a stage instance starts. Requires the GUILDS intent. Stage fields are read with `Zoption{key}`.","when":"Stage goes live","context":{"author_id":"Empty","username":"Empty","channel_id":"Stage channel ID","guild_id":"Guild ID","message":"Empty. Zoption keys: topic, privacy (e.g. GuildOnly), discoverable","trigger_message_id":"Stage instance ID"}},{"name":"onStageInstanceDelete","description":"Fires when a stage instance ends. Requires the GUILDS intent. Stage fields are read with `Zoption{key}`.","when":"Stage ends","context":{"author_id":"Empty","username":"Empty","channel_id":"Stage channel ID","guild_id":"Guild ID","message":"Empty. Zoption keys: topic, privacy (e.g. GuildOnly), discoverable","trigger_message_id":"Stage instance ID"}},{"name":"onStageInstanceUpdate","description":"Fires when a stage instance has its topic or privacy level changed. Requires the GUILDS intent. Stage fields are read with `Zoption{key}`.","when":"Stage details change","context":{"author_id":"Empty","username":"Empty","channel_id":"Stage channel ID","guild_id":"Guild ID","message":"Empty. Zoption keys: topic, privacy (e.g. GuildOnly), discoverable","trigger_message_id":"Stage instance ID"}},{"name":"onThreadCreate","description":"Fires when a thread is created. Requires the GUILDS intent. Thread fields are read with `Zoption{key}`.","when":"Thread is created","context":{"author_id":"Empty","username":"Empty","channel_id":"Thread ID","guild_id":"Guild ID","message":"Empty. Zoption keys: threadID, name, parentID, type (e.g. PublicThread)","trigger_message_id":"Thread ID"}},{"name":"onThreadDelete","description":"Fires when a thread is deleted. Requires the GUILDS intent. Thread fields are read with `Zoption{key}`.","when":"Thread is deleted","context":{"author_id":"Empty","username":"Empty","channel_id":"Thread ID","guild_id":"Guild ID","message":"Empty. Zoption keys: parentID, type (e.g. PublicThread)","trigger_message_id":"Thread ID"}},{"name":"onThreadUpdate","description":"Fires when a thread is updated, such as being renamed, archived, or locked. Requires the GUILDS intent. Thread fields are read with `Zoption{key}`.","when":"Thread is updated","context":{"author_id":"Empty","username":"Empty","channel_id":"Thread ID","guild_id":"Guild ID","message":"Empty. Zoption keys: threadID, name, parentID, type (e.g. PublicThread)","trigger_message_id":"Thread ID"}},{"name":"onVoiceStateUpdate","description":"Fires when a user joins, leaves, or moves voice channels.","when":"Voice state changes","context":{"author_id":"User ID","username":"Empty","channel_id":"Voice channel ID (if joined)","guild_id":"Guild ID","message":"Empty"}}]