-
Notifications
You must be signed in to change notification settings - Fork 109
/
lib.ts
31 lines (30 loc) · 834 Bytes
/
lib.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
type version = 6 | 7 | 8 | 9 | 10 | string
type voiceVersion = "-" | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | "E2EE" | string
export type LinkableString = string | { text: string; url: string }
export interface Lib {
name: string
url: string
language: string
apiVer: version
gwVer: version
voiceVer: voiceVersion
slashCommands: LinkableString
buttons: LinkableString
selectMenus: LinkableString
threads: LinkableString
guildStickers: LinkableString
contextMenus: LinkableString
autocomplete: LinkableString
scheduledEvents: LinkableString
timeouts: LinkableString
modals: LinkableString
permsv2: LinkableString
automod: LinkableString
localization: LinkableString
forums: LinkableString
monetization: LinkableString
userApps: LinkableString
polls: LinkableString
forwarding: LinkableString
appEmoji: LinkableString
}