diff options
author | TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> | 2021-05-28 21:51:02 -0600 |
---|---|---|
committer | TymanWasTaken <32660892+tymanwastaken@users.noreply.github.com> | 2021-05-28 21:51:02 -0600 |
commit | 1e9e334097702c68d871365fc016aa096d03c491 (patch) | |
tree | 65b22d1d529cda850e5c30e9fe19a2504fca2645 /src/lib/extensions/BotClient.ts | |
parent | 53d8d5e551e9a239fd4c48c7dca4e1f6fb8d81e9 (diff) | |
download | tanzanite-1e9e334097702c68d871365fc016aa096d03c491.tar.gz tanzanite-1e9e334097702c68d871365fc016aa096d03c491.tar.bz2 tanzanite-1e9e334097702c68d871365fc016aa096d03c491.zip |
Remove references - caused some issues, comment out some image gen code
Diffstat (limited to 'src/lib/extensions/BotClient.ts')
-rw-r--r-- | src/lib/extensions/BotClient.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/extensions/BotClient.ts b/src/lib/extensions/BotClient.ts index c98f50d..13c8a76 100644 --- a/src/lib/extensions/BotClient.ts +++ b/src/lib/extensions/BotClient.ts @@ -143,11 +143,7 @@ export class BotClient extends AkairoClient { Models.Modlog.initModel(this.db); Models.Ban.initModel(this.db); Models.Level.initModel(this.db); - try { - await this.db.sync(); // Sync all tables to fix everything if updated - } catch { - // Ignore error - } + await this.db.sync(); // Sync all tables to fix everything if updated } public async start(): Promise<void> { |