K
Docs
API Reference

🔔 Event Types

All Discord gateway events Kitcord Triggers can listen to. Click any event for full docs — available sparks, filters, Kit JSON, and what it looks like in TypeScript.

⚡ 15 event types supported
📐Under the hood — Triggers under the hood
TypeScript
// Every Trigger is just a Discord.js event listener:
client.on("guildMemberAdd", async (member) => { /* your flow */ });
client.on("messageCreate",  async (message) => { /* your flow */ });
client.on("reactionAdd",    async (reaction, user) => { /* your flow */ });
// Kitcord registers these automatically based on your Kit's events[] array.
🟢
Bot is ready
clientReady

Fires once when the bot successfully connects to the Discord gateway.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+1 more
👋
Member joins
guildMemberAdd

Fires when a new member joins any server the bot is in.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+7 more
👋
Member leaves
guildMemberRemove

Fires when a member leaves or is kicked from the server.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+6 more
🔨
Member banned
guildBanAdd

Fires when a member is banned from a server.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+4 more
🔓
Member unbanned
guildBanRemove

Fires when a member is unbanned.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+3 more
💬
Message sent
messageCreate

Fires when a message is sent in a channel the bot can see.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+17 more
has filters
🗑️
Message deleted
messageDelete

Fires when a message is deleted.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+7 more
✏️
Message edited
messageUpdate

Fires when a message is edited.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+15 more
😀
Reaction added
reactionAdd

Fires when someone adds a reaction to a message.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+5 more
😶
Reaction removed
reactionRemove

Fires when someone removes a reaction from a message.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+5 more
🎙️
Voice state changes
voiceStateUpdate

Fires when a member joins, leaves, or moves voice channels.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+5 more
⚡
Interaction received
interactionCreate

Fires when a Discord interaction is received (slash commands use Spells instead).

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+5 more
🔘
Button pressed
componentClick

Fires when someone presses a button your bot sent. Match it to the button's custom id. Works in Interaction Only mode.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+7 more
🔽
Dropdown chosen
selectChoose

Fires when someone picks from a dropdown your bot sent. What they picked arrives as {{component.value}}. Works in Interaction Only mode.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+9 more
🪟
Form submitted
modalSubmit

Fires when someone submits a pop-up form. Each answer arrives as {{form.values.<field custom id>}}. Works in Interaction Only mode.

{{input.guild.id}}{{input.guild.name}}{{input.guild.memberCount}}+6 more