Explore Plans
Mobile menu Close menu
DiscordDiscord

Post a message to a channel

This action will send a message from the IFTTT Bot to the channel you specify.

Developer info

API endpoint slug
discord.post_message_to_channel
Filter code method
Discord.postMessageToChannel.skip(string?: reason)
Runtime method
runAction("discord.post_message_to_channel", {})

Action fields

Channel ID Nested dropdown list

Label
Which Channel?
Helper text
Confirm that permissions are granted in your server. If your server isn’t listed, reconnect the Discord service.
Slug
channel_id
Required
true
Can have default value
false

Message Text input > Long text

Label
Message
Helper text
Max limit of 2000 characters. To @mention roles, find the role ID in Discord by running `\@role`. Ex. 'Hello <@&1234>'
Slug
message
Required
true
Can have default value
true
Filter code method
Discord.postMessageToChannel.setMessage(string: message)

Allowable mentions Dropdown list

Label
Allowable mentions
Helper text
Allows usage of @everyone, <@&(Role ID)>, and <@(User ID)> in the message body
Slug
allowable_mentions
Required
true
Can have default value
true
Filter code method
Discord.postMessageToChannel.setAllowableMentions(string: allowableMentions)