UNPKG

504 BTypeScriptView Raw
1/**
2 * This is a fallback type
3 * to make BLAPI compatible with typescript code that does not use discord.js
4 */
5export default class DiscordJSClientFallback {
6 user: {
7 id: string;
8 [k: string]: any;
9 } | null;
10
11 shard:
12 | ({
13 count: number;
14 [k: string]: any;
15 } & (
16 | { ids: number[] }
17 | {
18 id: number;
19 }
20 ))
21 | null;
22
23 guilds:
24 | Map<string, any>
25 | {
26 cache: Map<string, any>;
27 };
28
29 [k: string]: any;
30}