mcskinbot

1.4.7 • Public • Published

Webhook Picture\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

Package Sidebar

Install

npm i mcskinbot

Weekly Downloads

1

Version

1.4.7

License

ISC

Unpacked Size

4.1 kB

Total Files

7

Last publish

Collaborators

  • thedogeadmin