Updated emojis
This commit is contained in:
13
src/utils/Functions/emoji.ts
Normal file
13
src/utils/Functions/emoji.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
const emojis = {
|
||||
questionmark: { name: "questionmark_pink", type: "a", id: "1130206038008803488" },
|
||||
warning: { name: "_warning", type: "a", id: "1178350183457751100" },
|
||||
cross: { name: "cross_a", type: "a", id: "1087808606897983539" },
|
||||
checkmark: { name: "check_a", type: "a", id: "1087808632172847134" }
|
||||
}
|
||||
|
||||
type Emoji = keyof typeof emojis
|
||||
|
||||
export default function emoji(emoji: Emoji) {
|
||||
const e = emojis[emoji]
|
||||
return `<${e.type}:${e.name}:${e.id}>`
|
||||
}
|
||||
Reference in New Issue
Block a user