aboutsummaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-23 18:09:55 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-23 18:09:55 -0400
commit36ff682e742021918d134ff91a2bee3041b5a2b9 (patch)
tree979fb8a10eb7f210989ed3272754ab3f001641f5 /src/tasks
parent44521f4560dc8b0bab055685437d8fa65a34377f (diff)
downloadtanzanite-36ff682e742021918d134ff91a2bee3041b5a2b9.tar.gz
tanzanite-36ff682e742021918d134ff91a2bee3041b5a2b9.tar.bz2
tanzanite-36ff682e742021918d134ff91a2bee3041b5a2b9.zip
a ton of bug fixes
Diffstat (limited to 'src/tasks')
-rw-r--r--src/tasks/removeExpiredPunishements.ts3
-rw-r--r--src/tasks/updateCache.ts4
-rw-r--r--src/tasks/updateStats.ts2
3 files changed, 3 insertions, 6 deletions
diff --git a/src/tasks/removeExpiredPunishements.ts b/src/tasks/removeExpiredPunishements.ts
index 0610718..a5f9d73 100644
--- a/src/tasks/removeExpiredPunishements.ts
+++ b/src/tasks/removeExpiredPunishements.ts
@@ -1,6 +1,5 @@
-import { BushGuild, BushTask, BushUser } from '@lib';
+import { ActivePunishment, ActivePunishmentType, BushGuild, BushTask, BushUser } from '@lib';
import { Op } from 'sequelize';
-import { ActivePunishment, ActivePunishmentType } from '../lib/models/ActivePunishment';
export default class RemoveExpiredPunishmentsTask extends BushTask {
public constructor() {
diff --git a/src/tasks/updateCache.ts b/src/tasks/updateCache.ts
index e9d0cc6..b8df336 100644
--- a/src/tasks/updateCache.ts
+++ b/src/tasks/updateCache.ts
@@ -1,7 +1,5 @@
-import { BushClient } from '../lib/extensions/discord-akairo/BushClient';
+import { BushClient, Global, Guild } from '@lib';
import { BushTask } from '../lib/extensions/discord-akairo/BushTask';
-import { Global } from '../lib/models/Global';
-import { Guild } from '../lib/models/Guild';
import config from './../config/options';
export default class UpdateCacheTask extends BushTask {
diff --git a/src/tasks/updateStats.ts b/src/tasks/updateStats.ts
index 7b0690f..74a8114 100644
--- a/src/tasks/updateStats.ts
+++ b/src/tasks/updateStats.ts
@@ -1,5 +1,5 @@
+import { Stat } from '@lib';
import { BushTask } from '../lib/extensions/discord-akairo/BushTask';
-import { Stat } from '../lib/models/Stat';
export default class UpdateStatsTask extends BushTask {
public constructor() {