aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/BushUser.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-29 11:45:42 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-06-29 11:45:42 -0400
commit02869547686b4658e9554712a648e94a43a11575 (patch)
treeaa57c3a8905e9225492b5fd12ed9cf179f996457 /src/lib/extensions/BushUser.ts
parent0cfeae3aa98bc0cf1fb93bd61641da59b3870d81 (diff)
downloadtanzanite-02869547686b4658e9554712a648e94a43a11575.tar.gz
tanzanite-02869547686b4658e9554712a648e94a43a11575.tar.bz2
tanzanite-02869547686b4658e9554712a648e94a43a11575.zip
make extentions actually extend
Diffstat (limited to 'src/lib/extensions/BushUser.ts')
-rw-r--r--src/lib/extensions/BushUser.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/extensions/BushUser.ts b/src/lib/extensions/BushUser.ts
index dd07b7d..53fd449 100644
--- a/src/lib/extensions/BushUser.ts
+++ b/src/lib/extensions/BushUser.ts
@@ -1,4 +1,4 @@
-import { User } from 'discord.js';
+import { Structures, User } from 'discord.js';
import { BushClient } from './BushClient';
export class BushUser extends User {
@@ -15,3 +15,5 @@ export class BushUser extends User {
return this.client.isSuperUser(this);
}
}
+
+Structures.extend('User', () => BushUser);