mcskinbot
v1.4.7
Published
A Module to Assist TheDogeAdmin
Maintainers
Readme
\n
McSkinBot, the easiest module to use to send Discord Webhooks!
First, of course you are going to have to define mcskinbot first:
const mcskinbot = require(`mcskinbot`)Then, after that is done, to send a webhook just do this code:
mcskinbot.sendHook(URL, MSG)
//Replace url with a url like https://discordapp.com/api/webhooks/id/token
//Replace msg with the message you want to send with the webhook.An example setup:
const mcskinbot = require(`mcskinbot`)
let URL = "https://discordapp.com/api/webhooks/id/token" //replace id and token
let MSG = "You should install mcskinbot at https://www.npmjs.com/package/mcskinbot"
mcskinbot.sendHook(URL, MSG)
//you can just straight up ^ put the msg/url in the sendHook function
//but I like to organize.----Contact---- Discord: TheDogeAdmin#6538
