aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushThreadMember.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushThreadMember.ts')
-rw-r--r--src/lib/extensions/discord.js/BushThreadMember.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/extensions/discord.js/BushThreadMember.ts b/src/lib/extensions/discord.js/BushThreadMember.ts
index a316046..b3d8b50 100644
--- a/src/lib/extensions/discord.js/BushThreadMember.ts
+++ b/src/lib/extensions/discord.js/BushThreadMember.ts
@@ -6,11 +6,14 @@ import type { RawThreadMemberData } from 'discord.js/typings/rawDataTypes';
* Represents a Member for a Thread.
*/
export class BushThreadMember extends ThreadMember {
- public declare readonly guildMember: BushGuildMember | null;
- public declare readonly user: BushUser | null;
public declare thread: BushThreadChannel;
public constructor(thread: BushThreadChannel, data?: RawThreadMemberData) {
super(thread, data);
}
}
+
+export interface BushThreadMember {
+ get guildMember(): BushGuildMember | null;
+ get user(): BushUser | null;
+}