mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
13 lines
324 B
TypeScript
13 lines
324 B
TypeScript
import { EmbedBuilder } from 'discord.js';
|
|
import { ACCENT_COLOR } from '../../constants/colors';
|
|
|
|
export default function embedInfo(title: string, description: string) {
|
|
const embed = new EmbedBuilder()
|
|
.setColor(ACCENT_COLOR)
|
|
.setDescription(description);
|
|
|
|
if (title) embed.setTitle(title);
|
|
|
|
return embed;
|
|
}
|