diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-29 11:45:42 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-29 11:45:42 -0400 |
commit | 02869547686b4658e9554712a648e94a43a11575 (patch) | |
tree | aa57c3a8905e9225492b5fd12ed9cf179f996457 /src/lib/extensions/BushGuild.ts | |
parent | 0cfeae3aa98bc0cf1fb93bd61641da59b3870d81 (diff) | |
download | tanzanite-02869547686b4658e9554712a648e94a43a11575.tar.gz tanzanite-02869547686b4658e9554712a648e94a43a11575.tar.bz2 tanzanite-02869547686b4658e9554712a648e94a43a11575.zip |
make extentions actually extend
Diffstat (limited to 'src/lib/extensions/BushGuild.ts')
-rw-r--r-- | src/lib/extensions/BushGuild.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/extensions/BushGuild.ts b/src/lib/extensions/BushGuild.ts index 3c04bd6..1d7b3c8 100644 --- a/src/lib/extensions/BushGuild.ts +++ b/src/lib/extensions/BushGuild.ts @@ -1,4 +1,4 @@ -import { Guild } from 'discord.js'; +import { Guild, Structures } from 'discord.js'; import { Guild as GuildDB, GuildModel } from '../models/Guild'; import { BushClient } from './BushClient'; @@ -18,3 +18,5 @@ export class BushGuild extends Guild { return await row.save(); } } + +Structures.extend('Guild', () => BushGuild); |