1.0.4 • Published 3 years ago

disc_hooks v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

First npm module so it isn't the best / most efficient. Just used to send embeds/messages to discord webhooks

Example:

const webhook = require("disc_hooks");

const wh = new webhook.Webhook({
	webhook: "webhook url",
	username: "sesh",
	avatar_url: "url",
});

const embed = new webhook.Embed();

embed.addField("name", "value");
embed.setTitle("title");
embed.setDescription("desc");
embed.setThumbnail("thumb");

wh.send(embed);
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago