diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-19 12:03:21 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-19 12:03:21 -0400 |
commit | b29a217f76483e000bd9d75d30250d11a0a88c4d (patch) | |
tree | 041b13dc115cf94aff81cda17cf088f2290c2a14 /src/lib/extensions/discord.js | |
parent | 5984cc283ca50099d0e266b994324446316c0013 (diff) | |
download | tanzanite-b29a217f76483e000bd9d75d30250d11a0a88c4d.tar.gz tanzanite-b29a217f76483e000bd9d75d30250d11a0a88c4d.tar.bz2 tanzanite-b29a217f76483e000bd9d75d30250d11a0a88c4d.zip |
added steal command, revamped error handling and other stuff
Diffstat (limited to 'src/lib/extensions/discord.js')
-rw-r--r-- | src/lib/extensions/discord.js/BushClientUser.d.ts | 13 |
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>; } |