mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
refactor(PresenceManager): have Presence extend Base and simplify add (#6056)
* refactor(PresenceManager): have Presence extend Base and simplify add * style(Presence): add empty line after super call Co-authored-by: Noel <buechler.noel@outlook.com> Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@@ -1273,10 +1273,9 @@ export class Permissions extends BitField<PermissionString, bigint> {
|
||||
public static resolve(permission?: PermissionResolvable): bigint;
|
||||
}
|
||||
|
||||
export class Presence {
|
||||
export class Presence extends Base {
|
||||
public constructor(client: Client, data?: unknown);
|
||||
public activities: Activity[];
|
||||
public readonly client: Client;
|
||||
public clientStatus: ClientPresenceStatusData | null;
|
||||
public guild: Guild | null;
|
||||
public readonly member: GuildMember | null;
|
||||
|
||||
Reference in New Issue
Block a user