Skip to content

Instantly share code, notes, and snippets.

@rokhimin
Last active September 28, 2019 14:47
Show Gist options
  • Save rokhimin/ae9d36af3febc05eda6ee1187d4cc997 to your computer and use it in GitHub Desktop.
Save rokhimin/ae9d36af3febc05eda6ee1187d4cc997 to your computer and use it in GitHub Desktop.
{
"instructions": {
"content": "{{ content | strip_html }}",
"description": "{{ jpg_url.0 | append: '.jpg' }}",
"title": "{{title}}",
"url": "{{url}}"
},
"matchers": [
{
"path": "{{description}}",
"regexp": "(?<=src=\").+(?=.jpg)",
"to": "jpg_url"
}
],
"mode": "clean",
"must_match": "1"
}
{
"post_url": "URL_LINKS..",
"expected_receive_period_in_days": "14",
"content_type": "json",
"method": "post",
"payload": {
"content": "***[UPDATE ANIME]*** @everyone ",
"embeds": [
{
"title": "__**{{title}}**__",
"description": "```{{content}}```",
"url": "{{url}} ",
"color": "1127128",
"image": {
"url": "{{description}}"
}
}
]
},
"emit_events": "true",
"no_merge": "true",
"output_mode": "clean"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment