aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushUser.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushUser.ts')
-rw-r--r--src/lib/extensions/discord.js/BushUser.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/extensions/discord.js/BushUser.ts b/src/lib/extensions/discord.js/BushUser.ts
index 5ab288e..10e2e4a 100644
--- a/src/lib/extensions/discord.js/BushUser.ts
+++ b/src/lib/extensions/discord.js/BushUser.ts
@@ -9,7 +9,6 @@ export type PartialBushUser = Partialize<BushUser, 'username' | 'tag' | 'discrim
*/
export class BushUser extends User {
public declare readonly client: BushClient;
- public declare readonly dmChannel: BushDMChannel | null;
public constructor(client: BushClient, data: RawUserData) {
super(client, data);
@@ -29,3 +28,7 @@ export class BushUser extends User {
return client.isSuperUser(this);
}
}
+
+export interface BushUser {
+ get dmChannel(): BushDMChannel | null;
+}