aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushPresence.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushPresence.ts')
-rw-r--r--src/lib/extensions/discord.js/BushPresence.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/extensions/discord.js/BushPresence.ts b/src/lib/extensions/discord.js/BushPresence.ts
index f0a3ba6..f40570d 100644
--- a/src/lib/extensions/discord.js/BushPresence.ts
+++ b/src/lib/extensions/discord.js/BushPresence.ts
@@ -7,10 +7,13 @@ import type { RawPresenceData } from 'discord.js/typings/rawDataTypes';
*/
export class BushPresence extends Presence {
public declare guild: BushGuild | null;
- public declare readonly member: BushGuildMember | null;
- public declare readonly user: BushUser | null;
public constructor(client: BushClient, data?: RawPresenceData) {
super(client, data);
}
}
+
+export interface BushPresence {
+ get member(): BushGuildMember | null;
+ get user(): BushUser | null;
+}