blob: a027c76f319337bf1dbff81898629406c26f92d2 [file] [log] [blame]
pineafan63fc5e22022-08-04 22:04:10 +01001import EmojiEmbed from "./generateEmojiEmbed.js";
PineaFandf4996f2023-01-01 14:20:06 +00002import getEmojiByName from "./getEmojiByName.js";
pineafane23c4ec2022-07-27 21:56:27 +01003
Skyler Grey75ea9172022-08-06 10:22:23 +01004export const LoadingEmbed = [
PineaFandf4996f2023-01-01 14:20:06 +00005 new EmojiEmbed().setDescription(`${getEmojiByName("NUCLEUS.LOADING")} One moment...`).setStatus("Danger")
pineafan63fc5e22022-08-04 22:04:10 +01006];
PineaFan100df682023-01-02 13:26:08 +00007
8export const LinkWarningFooter = {
9 text: "The button below will take you to a website set by the server moderators. Do not enter any passwords unless it is from a trusted website.",
10 iconURL: "https://cdn.discordapp.com/emojis/952295894370369587.webp?size=128&quality=lossless"
PineaFana34d04b2023-01-03 22:05:42 +000011}
12
13class Embed {
14 embed: EmojiEmbed = new EmojiEmbed();
15 title: string = "";
16 description = "";
17 pageId = 0;
18
19 setEmbed(embed: EmojiEmbed) {
20 this.embed = embed;
21 return this;
22 }
23 setTitle(title: string) {
24 this.title = title;
25 return this;
26 }
27 setDescription(description: string) {
28 this.description = description;
29 return this;
30 }
31 setPageId(pageId: number) {
32 this.pageId = pageId;
33 return this;
34 }
35}
36
37export { Embed };