aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushRole.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushRole.ts')
-rw-r--r--src/lib/extensions/discord.js/BushRole.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/extensions/discord.js/BushRole.ts b/src/lib/extensions/discord.js/BushRole.ts
index acf795d..c0b9ae5 100644
--- a/src/lib/extensions/discord.js/BushRole.ts
+++ b/src/lib/extensions/discord.js/BushRole.ts
@@ -7,9 +7,12 @@ import type { RawRoleData } from 'discord.js/typings/rawDataTypes';
*/
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);
}
}
+
+export interface BushRole {
+ get members(): Collection<Snowflake, BushGuildMember>;
+}