K
Docs
API ReferenceEvent TypesBot is ready
🟢

Bot is ready

clientReadyREADYTrigger

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

When to use this
  • Announcing in a channel that the bot is online
  • Seeding the Vault on first deploy

On the canvas

This is what the trigger looks like in your bot's Triggers tab. The sparks listed are available in every node inside the linked flow.

🟢
Bot is ready
clientReady
Trigger
Sparks in this flow
{{input.guild.id}}Your Discord server's unique ID
{{input.guild.name}}Your server's name
{{input.guild.memberCount}}How many members are in the server

Available sparks

Use these in any piece config field inside flows triggered by this event.

SparkTypeDescription
{{input.guild.id}}stringYour Discord server's unique ID
{{input.guild.name}}stringYour server's name
{{input.guild.memberCount}}stringHow many members are in the server
⚠️Heads up

Fires once per bot start when the Engine connects to Discord.

📐

In TypeScript, this would be…

Not something you need to write — Kitcord registers these listeners automatically from your Kit.

TypeScript
client.once("ready", () => {
  // Bot is connected — use guild sparks if your flow posts to a channel
});