blob: 64b803cad1987b29b3697a9203466f041f1dc84b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { User } from 'discord.js';
import { BushClient, BushDMChannel } from '..';
export class BushUser extends User {
public declare readonly client: BushClient;
public declare readonly dmChannel: BushDMChannel | null;
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);
}
}
|