2023-05-21 16:50:05 +00:00
|
|
|
import { EmbedBuilder } from 'discord.js';
|
2023-05-28 16:56:15 +00:00
|
|
|
import { ACCENT_COLOR } from '../../constants/colors.js';
|
2023-05-21 16:50:05 +00:00
|
|
|
|
|
|
|
|
export default function infoEmbed(title: string, description: string) {
|
|
|
|
|
return new EmbedBuilder()
|
2023-05-28 16:56:15 +00:00
|
|
|
.setColor(ACCENT_COLOR)
|
2023-05-21 16:50:05 +00:00
|
|
|
.setTitle(title)
|
|
|
|
|
.setDescription(description);
|
|
|
|
|
}
|