Polarcraft/discordbot/functions/embeds.js

10 lines
219 B
JavaScript
Raw Normal View History

2023-08-02 14:16:30 +02:00
const { EmbedBuilder } = require('discord.js');
2023-08-05 12:21:30 +02:00
const simpleEmbed = (content) => {
2023-08-03 12:06:31 +02:00
return new EmbedBuilder()
.setColor(process.env.EMBED_COLOR)
2023-08-05 12:21:30 +02:00
.setDescription(content);
2023-08-02 14:16:30 +02:00
};
module.exports = { simpleEmbed };