aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BushUser.ts
blob: dd07b7d02eda1fd91912f8a6072aed1d985c0a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { User } from 'discord.js';
import { BushClient } from './BushClient';

export class BushUser extends User {
	public declare client: BushClient;
	public constructor(client: BushClient, data: unknown) {
		super(client, data);
	}

	public isOwner(): boolean {
		return this.client.isOwner(this);
	}

	public isSuperUser(): boolean {
		return this.client.isSuperUser(this);
	}
}