Skip to content

Instantly share code, notes, and snippets.

@jagrosh
Last active May 8, 2025 00:13

Revisions

  1. jagrosh revised this gist Feb 8, 2017. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -38,5 +38,4 @@ Also make sure to scroll down and fill this one in exactly like this:

    # Other Resources
    * **Official Documentation**: <https://github.com/hammerandchisel/discord-api-docs/blob/master/docs/resources/Webhook.md> and <https://github.com/hammerandchisel/discord-api-docs/blob/master/docs/resources/Channel.md#embed-object>
    * **Github Tutorial**: <https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22>
    * **IFTTT Tutorial**: <https://gist.github.com/austinhuang0131/3846a66790ecc240ec470229b4318cdf> (credit: austinhuang0131)
    * **Github Tutorial**: <https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22>
  2. jagrosh revised this gist Oct 24, 2016. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -34,4 +34,9 @@ Also make sure to scroll down and fill this one in exactly like this:
    6. Test to make sure that it's working. If successful, it will post to your Discord channel
    ![Success](http://i.imgur.com/mIZEx0s.png)

    7. Finish and turn the Zap on, so it's always running!
    7. Finish and turn the Zap on, so it's always running!

    # Other Resources
    * **Official Documentation**: <https://github.com/hammerandchisel/discord-api-docs/blob/master/docs/resources/Webhook.md> and <https://github.com/hammerandchisel/discord-api-docs/blob/master/docs/resources/Channel.md#embed-object>
    * **Github Tutorial**: <https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22>
    * **IFTTT Tutorial**: <https://gist.github.com/austinhuang0131/3846a66790ecc240ec470229b4318cdf> (credit: austinhuang0131)
  3. jagrosh revised this gist Oct 15, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ In this tutorial, I will be explaining how to set up a simple webhook to relay y
    # Step 2 - Make a Discord Webhook
    1. Find the Discord channel in which you would like to send Tweets

    2. In the settings for that channel, find the Webhooks option and create a new webhook. At the time of writing, this is only available for Discord Canary. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
    2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
    ![WebhookDiscord](http://i.imgur.com/PZE2wFu.png)

    3. You can name the webhook whatever you want, and give it any image; for this tutorial we override them later anyway. Keep track of the URL; we'll need it later.
  4. jagrosh revised this gist Oct 2, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,7 @@ In this tutorial, I will be explaining how to set up a simple webhook to relay y
    ![POST](http://i.imgur.com/46OTkxc.png)

    5. Fill in the template as shown below. Make sure to use the webhook URL we got from Step 2. Also, in the "Data" section, you can edit the fields, but don't edit the names of the fields, or Discord might not accept the input.
    ![Template](http://i.imgur.com/scxnnxz.png)
    ![Template](http://i.imgur.com/scxnnxz.png)<br>
    Also make sure to scroll down and fill this one in exactly like this:
    ![ContentType](http://i.imgur.com/iqlCw9T.png)

  5. jagrosh revised this gist Oct 2, 2016. 1 changed file with 2 additions and 6 deletions.
    8 changes: 2 additions & 6 deletions WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -3,28 +3,24 @@ In this tutorial, I will be explaining how to set up a simple webhook to relay y


    # Step 1 - Register on Zapier

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


    # Step 2 - Make a Discord Webhook

    1. Find the Discord channel in which you would like to send Tweets

    2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
    2. In the settings for that channel, find the Webhooks option and create a new webhook. At the time of writing, this is only available for Discord Canary. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
    ![WebhookDiscord](http://i.imgur.com/PZE2wFu.png)

    3. You can name the webhook whatever you want, and give it any image; for this tutorial we override them later anyway. Keep track of the URL; we'll need it later.

    # Step 3 - Make a Zap

    1. Click the "Make a Zap" button. When selecting a trigger app, search for Twitter and select "My Tweet" and then Save + Continue

    ![TwitterTriggers](http://i.imgur.com/8i6a4nM.png)

    2. Connect your twitter account (if you haven't already) and Save & Continue

    3. Make sure you've tweeted at least once, and press the Fetch & Continue button, and then Coninue if it succeeds.
    3. Make sure you've tweeted at least once, and press the Fetch & Continue button, and then Continue if it succeeds.

    4. For the Action App, select Webhooks, and then pick POST
    ![Webhooks](http://i.imgur.com/2BLpofd.png)
  6. jagrosh revised this gist Oct 2, 2016. 1 changed file with 6 additions and 3 deletions.
    9 changes: 6 additions & 3 deletions WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -11,8 +11,10 @@ In this tutorial, I will be explaining how to set up a simple webhook to relay y

    1. Find the Discord channel in which you would like to send Tweets

    2.
    2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
    ![WebhookDiscord](http://i.imgur.com/PZE2wFu.png)

    3. You can name the webhook whatever you want, and give it any image; for this tutorial we override them later anyway. Keep track of the URL; we'll need it later.

    # Step 3 - Make a Zap

    @@ -33,6 +35,7 @@ In this tutorial, I will be explaining how to set up a simple webhook to relay y
    Also make sure to scroll down and fill this one in exactly like this:
    ![ContentType](http://i.imgur.com/iqlCw9T.png)

    6. Test to make sure that it's working
    6. Test to make sure that it's working. If successful, it will post to your Discord channel
    ![Success](http://i.imgur.com/mIZEx0s.png)

    7. Finish and turn the Zap on, so it's always running
    7. Finish and turn the Zap on, so it's always running!
  7. jagrosh revised this gist Oct 2, 2016. 1 changed file with 12 additions and 2 deletions.
    14 changes: 12 additions & 2 deletions WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -10,19 +10,29 @@ In this tutorial, I will be explaining how to set up a simple webhook to relay y
    # Step 2 - Make a Discord Webhook

    1. Find the Discord channel in which you would like to send Tweets

    2.


    # Step 3 - Make a Zap

    1. Click the "Make a Zap" button. When selecting a trigger app, search for Twitter and select "My Tweet" and then Save + Continue

    ![TwitterTriggers](http://i.imgur.com/8i6a4nM.png)

    2. Connect your twitter account (if you haven't already) and Save & Continue

    3. Make sure you've tweeted at least once, and press the Fetch & Continue button, and then Coninue if it succeeds.

    4. For the Action App, select Webhooks, and then pick POST
    ![Webhooks](http://i.imgur.com/2BLpofd.png)
    ![POST](http://i.imgur.com/46OTkxc.png)

    5. Fill in the template as shown below. Make sure to use the webhook URL we got from Step 2. Also, in the "Data" section, you can edit the fields, but don't edit the names of the fields, or Discord might not accept the input.
    ![Template](http://i.imgur.com/bLXaHyb.png)
    ![Template](http://i.imgur.com/scxnnxz.png)
    Also make sure to scroll down and fill this one in exactly like this:
    ![ContentType](http://i.imgur.com/iqlCw9T.png)
    ![ContentType](http://i.imgur.com/iqlCw9T.png)

    6. Test to make sure that it's working

    7. Finish and turn the Zap on, so it's always running
  8. jagrosh revised this gist Oct 2, 2016. 1 changed file with 15 additions and 3 deletions.
    18 changes: 15 additions & 3 deletions WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -7,10 +7,22 @@ In this tutorial, I will be explaining how to set up a simple webhook to relay y
    1. Go to https://zapier.com/ and create an account (if you don't already have one).


    # Step 2 - Make a Zap
    # Step 2 - Make a Discord Webhook

    1. Find the Discord channel in which you would like to send Tweets
    2.


    # Step 3 - Make a Zap

    1. Click the "Make a Zap" button. When selecting a trigger app, search for Twitter and select "My Tweet" and then Save + Continue
    ![TwitterTriggers](http://i.imgur.com/8i6a4nM.png)
    2. Connect your twitter account (if you haven't already) and Save & Continue
    3. Make sure you've tweeted at least once, and press the Fetch & Continue button
    4.
    3. Make sure you've tweeted at least once, and press the Fetch & Continue button, and then Coninue if it succeeds.
    4. For the Action App, select Webhooks, and then pick POST
    ![Webhooks](http://i.imgur.com/2BLpofd.png)
    ![POST](http://i.imgur.com/46OTkxc.png)
    5. Fill in the template as shown below. Make sure to use the webhook URL we got from Step 2. Also, in the "Data" section, you can edit the fields, but don't edit the names of the fields, or Discord might not accept the input.
    ![Template](http://i.imgur.com/bLXaHyb.png)
    Also make sure to scroll down and fill this one in exactly like this:
    ![ContentType](http://i.imgur.com/iqlCw9T.png)
  9. jagrosh revised this gist Oct 2, 2016. 2 changed files with 16 additions and 2 deletions.
    16 changes: 16 additions & 0 deletions WebhookTutorial.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    # Simple Webhook Tutorial
    In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel


    # Step 1 - Register on Zapier

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


    # Step 2 - Make a Zap

    1. Click the "Make a Zap" button. When selecting a trigger app, search for Twitter and select "My Tweet" and then Save + Continue
    ![TwitterTriggers](http://i.imgur.com/8i6a4nM.png)
    2. Connect your twitter account (if you haven't already) and Save & Continue
    3. Make sure you've tweeted at least once, and press the Fetch & Continue button
    4.
    2 changes: 0 additions & 2 deletions Webhooks.md
    Original file line number Diff line number Diff line change
    @@ -1,2 +0,0 @@
    # Simple Webhook Tutorial
    In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel
  10. jagrosh created this gist Oct 2, 2016.
    2 changes: 2 additions & 0 deletions Webhooks.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # Simple Webhook Tutorial
    In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel