Created
August 30, 2019 17:33
Reddit to Discord Webhook in IFTTT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This: Reddit | |
Trigger: Any new post in subreddit | |
That: Webhooks | |
Action: Make a web request | |
URL: (your Discord webhook URL, DO NOT SHARE) | |
Method: POST | |
Content Type: application/json | |
Body: | |
{ "embeds": | |
[ | |
{ | |
"title": "<<<{{Title}}>>>", | |
"url": "<<<{{PostURL}}>>>", | |
"description": "<<<{{Content}}>>>", | |
"thumbnail": { | |
"url": "<<<{{ImageURL}}>>>" | |
}, | |
"footer": { | |
"icon_url": "https://www.redditstatic.com/desktop2x/img/favicon/favicon-32x32.png", | |
"text": "/u/<<<{{Author}}>>> | <<<{{PostedAt}}>>>" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use "image" instead of "thumbnail" to get bigger picture
for example:
{ "embeds":
[
{
"title": "<<<{{Title}}>>>",
"url": "<<<{{PostURL}}>>>",
"description": "<<<{{Content}}>>>",
"image": {
"url": "<<<{{ImageURL}}>>>"
},
"footer": {
"icon_url": "https://www.redditstatic.com/desktop2x/img/favicon/favicon-32x32.png",
"text": "/u/<<<{{Author}}>>> | <<<{{PostedAt}}>>>"
}
}
]
}