pineafan | 63fc5e2 | 2022-08-04 22:04:10 +0100 | [diff] [blame] | 1 | import EmojiEmbed from "./generateEmojiEmbed.js"; |
PineaFan | df4996f | 2023-01-01 14:20:06 +0000 | [diff] [blame] | 2 | import getEmojiByName from "./getEmojiByName.js"; |
pineafan | e23c4ec | 2022-07-27 21:56:27 +0100 | [diff] [blame] | 3 | |
Skyler Grey | 75ea917 | 2022-08-06 10:22:23 +0100 | [diff] [blame] | 4 | export const LoadingEmbed = [ |
PineaFan | df4996f | 2023-01-01 14:20:06 +0000 | [diff] [blame] | 5 | new EmojiEmbed().setDescription(`${getEmojiByName("NUCLEUS.LOADING")} One moment...`).setStatus("Danger") |
pineafan | 63fc5e2 | 2022-08-04 22:04:10 +0100 | [diff] [blame] | 6 | ]; |
PineaFan | 100df68 | 2023-01-02 13:26:08 +0000 | [diff] [blame] | 7 | |
| 8 | export 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" |
PineaFan | a34d04b | 2023-01-03 22:05:42 +0000 | [diff] [blame^] | 11 | } |
| 12 | |
| 13 | class 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 | |
| 37 | export { Embed }; |