-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.ts
47 lines (42 loc) · 1.16 KB
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { Embed, MessageAttachment, MessageReaction } from "discord-types/general";
export declare namespace Discord {
export interface Sticker {
format_type: number;
id: string;
name: string;
}
export interface Attachment extends MessageAttachment {
sensitive: boolean;
}
export interface Reaction extends MessageReaction {
burst_colors: string[];
borst_count: number;
count_details: { burst: number; normal: number; };
me_burst: boolean;
}
}
export declare namespace HolyNotes {
export interface Note {
id: string;
channel_id: string;
guild_id: string;
content: string;
author: {
id: string;
avatar: string;
discriminator: string;
username: string;
};
flags: number;
timestamp: string;
attachments: Discord.Attachment[];
embeds: Embed[];
reactions: Discord.Reaction[];
stickerItems: Discord.Sticker[];
}
}