discord-bot-send
v1.0.0
Published
```js 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,
Downloads
1
Readme
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. 🤷♀️