aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord-akairo/BushClient.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-04-24 23:04:49 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-04-24 23:04:49 -0400
commit40f9581991e12082a2708fa8fdd454c080f67a4b (patch)
tree99160efeb7eff8835099c6adfd4c6bf0a1dd6342 /src/lib/extensions/discord-akairo/BushClient.ts
parent5c9ec9e5c5529bae1da0573c9d4edf84ffd986d4 (diff)
downloadtanzanite-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.ts2
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