diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-04-24 23:04:49 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-04-24 23:04:49 -0400 |
commit | 40f9581991e12082a2708fa8fdd454c080f67a4b (patch) | |
tree | 99160efeb7eff8835099c6adfd4c6bf0a1dd6342 /src/lib/extensions/discord-akairo/BushClient.ts | |
parent | 5c9ec9e5c5529bae1da0573c9d4edf84ffd986d4 (diff) | |
download | tanzanite-40f9581991e12082a2708fa8fdd454c080f67a4b.tar.gz tanzanite-40f9581991e12082a2708fa8fdd454c080f67a4b.tar.bz2 tanzanite-40f9581991e12082a2708fa8fdd454c080f67a4b.zip |
add member ship tracking because I want to make graph
Diffstat (limited to 'src/lib/extensions/discord-akairo/BushClient.ts')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClient.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts index 1e6418c..4f0c6b0 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -58,6 +58,7 @@ import { ModLog } from '../../models/instance/ModLog.js'; import { Reminder } from '../../models/instance/Reminder.js'; import { StickyRole } from '../../models/instance/StickyRole.js'; import { Global } from '../../models/shared/Global.js'; +import { MemberCount } from '../../models/shared/MemberCount.js'; import { Shared } from '../../models/shared/Shared.js'; import { Stat } from '../../models/shared/Stat.js'; import { AllowedMentions } from '../../utils/AllowedMentions.js'; @@ -444,6 +445,7 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re Stat.initModel(this.sharedDB); Global.initModel(this.sharedDB); Shared.initModel(this.sharedDB); + MemberCount.initModel(this.sharedDB); await this.sharedDB.sync({ // Sync all tables to fix everything if updated // if another instance restarts we don't want to overwrite new changes made in development |