Polarcraft/discord-bot/functions/createEmbed.js

13 lines
267 B
JavaScript
Raw Normal View History

2022-12-22 14:09:11 +01:00
const { EmbedBuilder } = require('discord.js');
const dotenv = require('dotenv');
dotenv.config();
const basic = (description) => {
return new EmbedBuilder()
.setColor(process.env.EMBED_COLOR)
.setDescription(description);
};
module.exports = { basic };