aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushClientUser.d.ts
blob: 1a6cea49f4430b0c611c2a1e1321b5c09ada0b67 (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 {
	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>;
}