aboutsummaryrefslogtreecommitdiff
path: root/node_modules/discord.js/docs/examples/webhook.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/discord.js/docs/examples/webhook.js')
-rw-r--r--node_modules/discord.js/docs/examples/webhook.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/discord.js/docs/examples/webhook.js b/node_modules/discord.js/docs/examples/webhook.js
deleted file mode 100644
index 13cf7c8..0000000
--- a/node_modules/discord.js/docs/examples/webhook.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- Send a message using a webhook
-*/
-
-// import the discord.js module
-const Discord = require('discord.js');
-
-// create a new webhook
-const hook = new Discord.WebhookClient('webhook id', 'webhook token');
-
-// send a message using the webhook
-hook.sendMessage('I am now alive!');