aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushPresence.ts
blob: f40570da6fa83652d474264ea1d89149f24966cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import type { BushClient, BushGuild, BushGuildMember, BushUser } from '#lib';
import { Presence } from 'discord.js';
import type { RawPresenceData } from 'discord.js/typings/rawDataTypes';

/**
 * Represents a user's presence.
 */
export class BushPresence extends Presence {
	public declare guild: BushGuild | null;

	public constructor(client: BushClient, data?: RawPresenceData) {
		super(client, data);
	}
}

export interface BushPresence {
	get member(): BushGuildMember | null;
	get user(): BushUser | null;
}