0.0.4 • Published 5 years ago
djs-webhook-forwarder v0.0.4
Discord.js Webhook forwarder
About
A simple Discord.js Webhook forwarder from a channel.
Example
const Discord = require("discord.js")
const client = new Discord.Client()
const djswebhookforwarder = require("djs-webhook-forwarder")
const webhookForwarder = new djswebhookforwarder(client, "WEBHOOK ID", "WEBHOOK TOKEN", "SOURCE CHANNEL ID")
client.on("ready", () => {
webhookForwarder.start()
})
client.login("BOT TOKEN")