14 lines
476 B
TypeScript
14 lines
476 B
TypeScript
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}>`
|
|
}
|