discord-webhook-api2
v1.0.0
Published
Something that has to do with webhooks
Downloads
1
Readme
Made by Purge#1000
How to use
Get link Get your webhook link from discord should looks something like this
https://canary.discordapp.com/api/webhooks/<HOOKID>/<TOKEN>
Setup This has to be done
var discord = require('discord-webhook-api2');
discord.hookId = 'PutHookIdHere';
discord.hookToken = 'PutTokenHere';
This Can be done if you want
discord.userName = 'SpiderBot';
discord.avatarUrl = 'SomeUrl';
Use To send a message after you set
discord.sendMessage('Some text');
Join Green Studios! (Click Here)[https://discord.gg/AeTNGdEW]