aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js')
-rw-r--r--src/lib/extensions/discord.js/BushClientUser.d.ts13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/extensions/discord.js/BushClientUser.d.ts b/src/lib/extensions/discord.js/BushClientUser.d.ts
index 035c6d9..1a6cea4 100644
--- a/src/lib/extensions/discord.js/BushClientUser.d.ts
+++ b/src/lib/extensions/discord.js/BushClientUser.d.ts
@@ -2,8 +2,8 @@ import {
ActivityOptions,
Base64Resolvable,
BufferResolvable,
+ ClientPresence,
ClientUserEditData,
- Presence as BushPresence,
PresenceData,
PresenceStatusData
} from 'discord.js';
@@ -11,13 +11,14 @@ 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): BushPresence;
- public setActivity(name: string, options?: ActivityOptions): BushPresence;
- public setAFK(afk: boolean, shardId?: number | number[]): BushPresence;
+ 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): BushPresence;
- public setStatus(status: PresenceStatusData, shardId?: number | number[]): BushPresence;
+ public setPresence(data: PresenceData): ClientPresence;
+ public setStatus(status: PresenceStatusData, shardId?: number | number[]): ClientPresence;
public setUsername(username: string): Promise<this>;
}