aboutsummaryrefslogtreecommitdiff
path: root/src/api/MessageEvents.ts
diff options
context:
space:
mode:
authorSyncx <47534062+Syncxv@users.noreply.github.com>2023-05-17 12:38:15 +1000
committerGitHub <noreply@github.com>2023-05-17 04:38:15 +0200
commit1d6b78f6c660f0cd6905552243a3908366a28595 (patch)
treec8d217a937be8bf2ce39f24e031208388d8f9cb5 /src/api/MessageEvents.ts
parent341151a71811ddf2a7a36af3dc037135d2b9f7dd (diff)
downloadVencord-1d6b78f6c660f0cd6905552243a3908366a28595.tar.gz
Vencord-1d6b78f6c660f0cd6905552243a3908366a28595.tar.bz2
Vencord-1d6b78f6c660f0cd6905552243a3908366a28595.zip
feat(plugin): FavoriteEmojiFirst (#1110)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/api/MessageEvents.ts')
-rw-r--r--src/api/MessageEvents.ts13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/api/MessageEvents.ts b/src/api/MessageEvents.ts
index b597fea..341b4e6 100644
--- a/src/api/MessageEvents.ts
+++ b/src/api/MessageEvents.ts
@@ -18,24 +18,15 @@
import { Logger } from "@utils/Logger";
import { MessageStore } from "@webpack/common";
+import { CustomEmoji } from "@webpack/types";
import type { Channel, Message } from "discord-types/general";
import type { Promisable } from "type-fest";
const MessageEventsLogger = new Logger("MessageEvents", "#e5c890");
-export interface Emoji {
- require_colons: boolean,
- originalName: string,
- animated: boolean;
- guildId: string,
- name: string,
- url: string,
- id: string,
-}
-
export interface MessageObject {
content: string,
- validNonShortcutEmojis: Emoji[];
+ validNonShortcutEmojis: CustomEmoji[];
invalidEmojis: any[];
tts: boolean;
}