blob: acf795da7f40c9061da2bdc930274682e9d818e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import type { BushClient, BushGuild, BushGuildMember } from '#lib';
import { Role, type Collection, type Snowflake } from 'discord.js';
import type { RawRoleData } from 'discord.js/typings/rawDataTypes';
/**
* Represents a role on Discord.
*/
export class BushRole extends Role {
public declare guild: BushGuild;
public declare readonly members: Collection<Snowflake, BushGuildMember>;
public constructor(client: BushClient, data: RawRoleData, guild: BushGuild) {
super(client, data, guild);
}
}
|