mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
9 lines
289 B
TypeScript
9 lines
289 B
TypeScript
import { EmbedBuilder } from 'discord.js';
|
|||
|
|
import { NEGATIVE_COLOR } from '../constants/colors.js';
|
||
|
|
|
||
|
|
export default function errorEmbed(title: string, description: string) {
|
||
|
|
return new EmbedBuilder()
|
||
|
|
.setColor(NEGATIVE_COLOR)
|
||
|
|
.setTitle(title)
|
||
|
|
.setDescription(description);
|
||
|
|
}
|