1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-11 02:16:23 +00:00

Fix types in HolyNotes namespace

This commit is contained in:
Wolfie 2024-03-10 08:16:40 -04:00
parent d54c5d4a4b
commit 26c71f27dd
No known key found for this signature in database
GPG key ID: DE384EE9BF2D909A

View file

@ -11,37 +11,37 @@ export declare namespace Discord {
format_type: number;
id: string;
name: string;
}
}
export interface Attachment extends MessageAttachment {
export interface Attachment extends MessageAttachment {
sensitive: boolean;
}
}
export interface Reaction extends MessageReaction {
export interface Reaction extends MessageReaction {
burst_colors: string[];
borst_count: number;
count_details: { burst: number; normal: 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[];
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[];
}
}
}