-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.d.ts
41 lines (36 loc) · 857 Bytes
/
types.d.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
declare const React: typeof import('react');
declare type ModalEvent = import('discord-types').ModalEvent;
declare interface Accounts {
[account: string]: Account;
}
declare interface Account {
[messageId: string]: Sperm;
}
declare interface Sperm {
id: string;
channel_id: string;
guild_id: string | null;
content: string;
author: {
id: string;
avatar: string;
discriminator: string;
username: string;
},
timestamp: string;
attachments: any[],
embeds: any[],
reactions: any[];
}
// Theres not really anything that would be worth adding to code pallete sadly.
// interface PalleteEntry {
// id: string;
// icon?: string;
// label: string;
// source: string;
// condition?: () => boolean;
// action: () => void;
// }
// interface registerType {
// registerEntry: (entry: PalleteEntry) => void;
// }