K
Docs
API ReferencePiecesSend Message
📤

Send Message

base.sendBase SetMessages

Drops a message anywhere in your server. Unlike Reply, it doesn't need to be a response to anything — it can post in #announcements while the trigger happened in #general.

When to use this
  • Spells need a Reply (or Follow-up) after this to finish the slash response
  • Leave the channel blank to send in the same channel where the trigger happened
  • Channel IDs (numbers) are more reliable than names — grab one by right-clicking a channel

On the canvas

This is what Send Message looks like when you place it on your flow. Each field below is something you configure in the inspector panel.

📤
Send Message
base.send
Messages
channel
#general or paste a channel ID
contentrequired
🎉 {{member.name}} just joined — say hi!

Config fields

FieldTypeReqWhat it does
channel
#general or paste a channel ID
textWhich channel? 📍
content
🎉 {{member.name}} just joined — say hi!
textareayesWhat to say 💬

Output ports

outputMoves on after the message is sent
📐

In TypeScript, this would be…

Not something you need to write — just a look at what Kitcord does for you.

TypeScript
const channel = await guild.channels.fetch(channelId);
if (channel?.isTextBased()) {
  await channel.send("🎉 Announcement!");
}