fix(ClientUser): Method (require nitro) not work
This commit is contained in:
3
typings/enums.d.ts
vendored
3
typings/enums.d.ts
vendored
@@ -166,7 +166,8 @@ export const enum GuildScheduledEventStatuses {
|
||||
CANCELED = 4,
|
||||
}
|
||||
|
||||
export const enum HypeSquadOptions {
|
||||
export const enum HypeSquadType {
|
||||
LEAVE = 0,
|
||||
HOUSE_BRAVERY = 1,
|
||||
HOUSE_BRILLIANCE = 2,
|
||||
HOUSE_BALANCE = 3,
|
||||
|
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -98,7 +98,7 @@ import {
|
||||
GuildScheduledEventEntityTypes,
|
||||
GuildScheduledEventStatuses,
|
||||
GuildScheduledEventPrivacyLevels,
|
||||
HypeSquadOptions,
|
||||
HypeSquadType,
|
||||
VideoQualityModes,
|
||||
} from './enums';
|
||||
import {
|
||||
@@ -896,7 +896,7 @@ export class ClientUser extends User {
|
||||
public setPresence(data: PresenceData): ClientPresence;
|
||||
public setStatus(status: PresenceStatusData, shardId?: number | number[]): ClientPresence;
|
||||
public setUsername(username: string, password: string): Promise<this>;
|
||||
public setHypeSquad(type: HypeSquadOptions): Promise<void>;
|
||||
public setHypeSquad(type: HypeSquadType): Promise<void>;
|
||||
public setAccentColor(color: ColorResolvable): Promise<this>;
|
||||
public setDiscriminator(discriminator: string, password: string): Promise<this>;
|
||||
public setAboutMe(bio: string): Promise<this>;
|
||||
|
Reference in New Issue
Block a user