aboutsummaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
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() {