banner



How To Register Ebags Tag

Making an automatic Twitch -> Discord notification (using IFTTT)

So you went live and you want anybody to know. Here's how y'all do it:

Part ane - Register on IFTTT

Go to https://ifttt.com/ and create an account (if you don't already have one)

Part 2 - Make a Discord Webhook

  • Detect the Discord channel in which you would like to send Tweets.
  • In the settings for that channel, observe the Webhooks option and create a new webhook. Notation: This URL should be kept individual. Information technology allows anyone to write messages to that specific channel using that specific URL. Keep it safe! WebhookDiscord
  • Name the webhook notwithstanding you similar and feel free to change the generic profile picture. I chose this icon as it fits the circle nicely.
  • Copy the URL somewhere and go on it handy for the next step.

Part three - Create a new IFTTT applet/recipe

  1. Go here to create a new "Applet"
  2. Click the big blue "[+] This" and cull "Twitch" (use the search bar to observe it quickly)
  3. Connect your account if necessary.
  4. Choose "New stream started by you" (it should exist the 2nd selection from the left)
  5. Click the big blue "[+] That" and choose "Webhooks"
  6. Choose "Make a web request" (it should be the just option)
  7. Fill in the following details:

    URL: [your URL from "part two" above] Method: Mail service Content type: application/json Body: [see the snippet beneath]

  8. Click "Create Action"
  9. Washed!

Snippet for "Torso"

Webhooks are super-customizable and permit y'all to make pretty well-detailed visuals. Nevertheless, their format is also somewhat complex to get right without extensive testing, and then here'southward a template which would be useful to most people:

{              "content":                              "{{ChannelName}} went live on Twitch"              ,              "embeds": [{              "title":                              "{{ChannelUrl}}"              ,              "url":                              "{{ChannelUrl}}"              ,              "color":              6570404,              "footer": {              "text":                              "{{CreatedAt}}"                            },              "image": {              "url":                              "{{StreamPreview}}"                            },              "writer": {              "name":                              "{{ChannelName}} is now streaming"                            },              "fields": [       {              "name":                              "Playing"              ,              "value":                              "{{Game}}"              ,              "inline":              true              },       {              "proper name":                              "Started at (streamer timezone)"              ,              "value":                              "{{CreatedAt}}"              ,              "inline":              true              }     ]   }] }

This snippet produces this snippet: (for the channel "xQcow"): Example using xQcow's channel

Custom message

If y'all'd similar to customize the bulletin text -- "xqcow has gone live on Twitch!" -- change the content attribute:

{              "content":                              "{{ChannelName}} has gone live on Twitch!"              ,              "embeds": [{

Show your Twitch contour movie in the embed (advanced)

If yous'd like to show your Twitch contour picture show in the box:

  1. Go to Twitch
  2. Correct-click your profile moving picture in the elevation-right:

User area on Twitch.tv

  1. Click "Copy image address"
  2. Paste that address into this hulk instead of <IMAGE_URL>:
              "thumbnail": {              "url":                              "<IMAGE_URL>"                            },
  1. Paste that hulk below the prototype area in the main blob, so that part would change from this:
              "footer": {              "text":                              "{{CreatedAt}}"                            },              "image": {              "url":                              "https://static-cdn.jtvnw.net/previews-ttv/live_user_{{ChannelName}}-1280x720.jpg"                            },              "author": {              "name":                              "{{ChannelName}} is at present streaming!"                            },

To this:

              "footer": {              "text":                              "{{CreatedAt}}"                            },              "prototype": {              "url":                              "https://static-cdn.jtvnw.internet/previews-ttv/live_user_{{ChannelName}}-1280x720.jpg"                            },              "thumbnail": {              "url":                              "<IMAGE_URL>"                            },              "author": {              "name":                              "{{ChannelName}} is now streaming!"                            },

Notation: The image accost you merely used for your Twitch profile motion-picture show may finish working if you change your film. I'grand non sure how Twitch manages those.

Credits

  • This guide was adapted from this YouTube to Discord via IFTTT guide.
  • The Twitch webhook icon is courtesy of FIVEicons LLC and available under a CC-BY 2.five license hither: https://www.iconfinder.com/icons/318551/twitch_twitch.tv_icon

Source: https://gist.github.com/smiley/78c1c2a57d17a179a978a1438b389710

Posted by: kingagge1986.blogspot.com

0 Response to "How To Register Ebags Tag"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel