round-api.js
Version:
Uma blibioteca para iniciantes no discord, que precisam de um bot de música mas não sabe como fazer...
15 lines (13 loc) • 422 B
JavaScript
const { MessageEmbed } = require("discord.js")
/**
* Easy to send errors because im lazy to do the same things :p
* @param {String} text - Message which is need to send
* @param {TextChannel} channel - A Channel to send error
*/
module.exports = async (text, channel) => {
let embed = new MessageEmbed()
.setColor("RED")
.setDescription(text)
.setFooter("Round Music")
await channel.send(embed)
}