Skip to content

Instantly share code, notes, and snippets.

View danielgraycode's full-sized avatar
😠
Exiting vim

Daniel G danielgraycode

😠
Exiting vim
  • England
View GitHub Profile
@danielgraycode
danielgraycode / WebhookTutorial.md
Created August 10, 2017 08:24 — forked from jagrosh/WebhookTutorial.md
Simple Webhook Tutorial (Twitter -> Discord)

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 Discord Webhook

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

discord.UserJoined += async (s, e) => { Console.WriteLine("[" + e.Server.Name + "] " + e.User.Name + "#" + e.User.Discriminator + " Has joined the server");

                 if (spamfilter == 0) return;
                 if (spamfilter == 1)
                 {
                     if (e.Server == null) return;
                     if (e.Server.Id == 212916064298729473)

{

@danielgraycode
danielgraycode / keybase.md
Last active September 1, 2017 10:20
Gotta have this to prove my identity or something..

Keybase proof

I hereby claim:

  • I am danielgraycode on github.
  • I am danielgray_ (https://keybase.io/danielgray_) on keybase.
  • I have a public key whose fingerprint is 3687 847D A6F8 4A56 395B D0D1 2670 9E7D E778 F91F

To claim this, I am signing this object: