Explore Plans
Mobile menu Close menu
DiscordDiscord

Post a rich message to a channel

This action will send a rich message from the IFTTT Bot to the channel you specify. Although most fields are optional, running the action requires content in the message body or content in at least one of the embed attributes.

Developer info

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

Action fields

Channel ID Nested dropdown list

Label
Which Channel?
Helper text
To post a message to an Announcement Channel, add the 'IFTTT' role and 'Send Messages' permission in Channel Permissions. If a server is not present, Reconnect to the Discord service at ifttt.com/discord/settings
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
false
Can have default value
true
Filter code method
Discord.postRichMessageToChannel.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.postRichMessageToChannel.setAllowableMentions(string: allowableMentions)

Embed title Text input > Title

Label
Embed Title
Helper text
Embed title
Slug
embed_title
Required
false
Can have default value
true
Filter code method
Discord.postRichMessageToChannel.setEmbedTitle(string: embedTitle)

Embed description Text input > Long text

Label
Embed Description
Helper text
Embed Description
Slug
embed_description
Required
false
Can have default value
true
Filter code method
Discord.postRichMessageToChannel.setEmbedDescription(string: embedDescription)

Embed footer Text input > Short text

Label
Embed Footer
Helper text
Embed Footer
Slug
embed_footer
Required
false
Can have default value
true
Filter code method
Discord.postRichMessageToChannel.setEmbedFooter(string: embedFooter)

Embed color Text input > Short text

Label
Embed Color
Helper text
Embed color hex value. Invalid values default to black. Ex. ff33ff
Slug
embed_color
Required
false
Can have default value
true
Filter code method
Discord.postRichMessageToChannel.setEmbedColor(string: embedColor)

Embed image URL Text input > Photo

Label
Embed Image URL
Slug
embed_image_url
Required
false
Can have default value
true
Filter code method
Discord.postRichMessageToChannel.setEmbedImageUrl(string: embedImageUrl)