Base structure

This commit is contained in:
2022-11-23 13:23:25 +01:00
parent c7a66fddca
commit 261627570d
11 changed files with 870 additions and 0 deletions

View File

@ -0,0 +1,24 @@
import pack from "../../package.json";
import { EmbedBuilder } from "discord.js";
import client from "../client";
// const _coolColors = [0x054566];
export default function getDefaultEmbed(): EmbedBuilder {
const embed = new EmbedBuilder();
embed.setFooter({
text: `Channel filter V${pack.version} by AstroGD®`,
iconURL: client.user?.avatarURL() || undefined,
});
embed.setTimestamp(new Date());
embed.setColor(0x3682cc);
return embed;
}
export function getSuccessEmbed(): EmbedBuilder {
const embed = getDefaultEmbed();
embed.setTitle("Success");
embed.setColor(0x32d122);
return embed;
}