Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich Messaging #19

Open
webhead404 opened this issue Nov 16, 2020 · 1 comment
Open

Rich Messaging #19

webhead404 opened this issue Nov 16, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation V3 Marked issue will be fixed (resolved) in version 3

Comments

@webhead404
Copy link

webhead404 commented Nov 16, 2020

Can someone describe how to use the rich messaging feature? I would like to attach images to the messages in Discord. Currently I have this:

message = {
    payload: "Happy Thanksgiving!",
    channel: msg.channel.id
}
return message;
@philosoma
Copy link

philosoma commented Nov 18, 2020

An example for a function node to pass:

msg.rich = { author: { name: "Test" }, title: "title", description: "Description", url: "https://google.co.uk/", fields: [ {name: "Number 1", value: 3400, inline: true}, {name: "Number 2", value: 4000, inline: true}, {name: "Number 3", value: 600, inline: true} ] }; return msg;

@madmax3365 madmax3365 added documentation Improvements or additions to documentation V3 Marked issue will be fixed (resolved) in version 3 labels Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation V3 Marked issue will be fixed (resolved) in version 3
Projects
None yet
Development

No branches or pull requests

3 participants