fix: see description

- Spell Check
- Rewrite Docs
- Rewrite Enums
This commit is contained in:
March 7th
2022-07-17 17:52:28 +07:00
parent 25e22b7daa
commit 600df364f4
8 changed files with 151 additions and 38 deletions

6
typings/enums.d.ts vendored
View File

@@ -22,6 +22,12 @@ export const enum stickerAnimationMode {
NEVER = 2,
}
export const enum NitroType {
NONE = 0,
NITRO_CLASSIC = 1,
NITRO_BOOST = 2,
}
export const enum RelationshipTypes {
FRIEND = 1,
BLOCKED = 2,

10
typings/index.d.ts vendored
View File

@@ -3523,6 +3523,14 @@ export class ChannelManager extends CachedManager<Snowflake, AnyChannel, Channel
export type FetchGuildApplicationCommandFetchOptions = Omit<FetchApplicationCommandOptions, 'guildId'>;
export interface guildFolderData {
guildId: Snowflake;
folderId: number | string;
folderIndex: number;
folderName: string;
folderColor: any;
folderGuilds: Snowflake[];
}
export class ClientUserSettingManager extends BaseManager {
private constructor(client: Client);
public rawSetting: RawUserSettingsData | object;
@@ -3553,7 +3561,7 @@ export class ClientUserSettingManager extends BaseManager {
}
| object;
public addFriendFrom: { all?: boolean; mutual_friends?: boolean; mututal_guilds?: boolean } | object;
public guildMetadata: Collection<Snowflake, object>;
public guildMetadata: Collection<Snowflake, guildFolderData>;
public disableDMfromServer: Collection<Snowflake, boolean>;
public fetch(): Promise<RawUserSettingsData>;
public setDisplayCompactMode(value?: boolean): Promise<this>;