aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushPresence.ts
blob: f0a3ba66f44fe74c174c4387f8e41af5fa6ed3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 declare readonly member: BushGuildMember | null;
	public declare readonly user: BushUser | null;

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