aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushClientUser.d.ts
blob: c30755319284fedb98085a22b5f285f44eacbaed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import type {
	ActivityOptions,
	Base64Resolvable,
	BufferResolvable,
	ClientPresence,
	ClientUserEditData,
	PresenceData,
	PresenceStatusData
} from 'discord.js';
import { BushUser } from './BushUser';

export class BushClientUser extends BushUser {
	public mfaEnabled: boolean;
	public readonly presence: ClientPresence;
	public verified: boolean;
	public edit(data: ClientUserEditData): Promise<this>;
	public setActivity(options?: ActivityOptions): ClientPresence;
	public setActivity(name: string, options?: ActivityOptions): ClientPresence;
	public setAFK(afk: boolean, shardId?: number | number[]): ClientPresence;
	public setAvatar(avatar: BufferResolvable | Base64Resolvable): Promise<this>;
	public setPresence(data: PresenceData): ClientPresence;
	public setStatus(status: PresenceStatusData, shardId?: number | number[]): ClientPresence;
	public setUsername(username: string): Promise<this>;
}