1.0.0 • Published 6 years ago
discord-bot-send v1.0.0
Getting Started
Example Code
const Bot = require("discord-bot-send"),
bot = new Bot("YOUR_BOT_TOKEN");
// embed is also optional.. but you need to have either the content or embed filled out..
bot.send("channelID", {
content: optional_content,
embed: {
title: "Test!"
}
})
.then(console.log).catch(console.log) // This will log the response back from the send message or the error that the bot got while trying to send to the channel you provided.Why even make this?
Well I was bored and found it interesting I guess. 🤷♀️
1.0.0
6 years ago