aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-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;
}