aboutsummaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks')
-rw-r--r--src/tasks/cpuUsage.ts4
-rw-r--r--src/tasks/removeExpiredPunishements.ts4
-rw-r--r--src/tasks/updateCache.ts6
-rw-r--r--src/tasks/updateStats.ts4
-rw-r--r--src/tasks/updateSuperUsers.ts4
5 files changed, 11 insertions, 11 deletions
diff --git a/src/tasks/cpuUsage.ts b/src/tasks/cpuUsage.ts
index b22923a..e597b31 100644
--- a/src/tasks/cpuUsage.ts
+++ b/src/tasks/cpuUsage.ts
@@ -1,5 +1,5 @@
-import { BushTask } from '@lib';
-import * as osu from 'node-os-utils';
+import { BushTask } from '#lib';
+import osu from 'node-os-utils';
export default class CpuUsageTask extends BushTask {
public constructor() {
diff --git a/src/tasks/removeExpiredPunishements.ts b/src/tasks/removeExpiredPunishements.ts
index dee6a89..6662292 100644
--- a/src/tasks/removeExpiredPunishements.ts
+++ b/src/tasks/removeExpiredPunishements.ts
@@ -1,5 +1,5 @@
-import { ActivePunishment, ActivePunishmentType, BushTask, type BushGuild, type BushUser } from '@lib';
-import { Op } from 'sequelize';
+import { ActivePunishment, ActivePunishmentType, BushTask, type BushGuild, type BushUser } from '#lib';
+const { Op } = (await import('sequelize')).default;
export default class RemoveExpiredPunishmentsTask extends BushTask {
public constructor() {
diff --git a/src/tasks/updateCache.ts b/src/tasks/updateCache.ts
index 6ccf609..16683f0 100644
--- a/src/tasks/updateCache.ts
+++ b/src/tasks/updateCache.ts
@@ -1,6 +1,6 @@
-import { Global, Guild, type BushClient } from '@lib';
-import { BushTask } from '../lib/extensions/discord-akairo/BushTask';
-import config from './../config/options';
+import { Global, Guild, type BushClient } from '#lib';
+import { BushTask } from '../lib/extensions/discord-akairo/BushTask.js';
+import config from './../config/options.js';
export default class UpdateCacheTask extends BushTask {
public constructor() {
diff --git a/src/tasks/updateStats.ts b/src/tasks/updateStats.ts
index ad3cb45..d6cabaa 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';
+import { BushTask } from '../lib/extensions/discord-akairo/BushTask.js';
export default class UpdateStatsTask extends BushTask {
public constructor() {
diff --git a/src/tasks/updateSuperUsers.ts b/src/tasks/updateSuperUsers.ts
index 72ae7ab..ffbf550 100644
--- a/src/tasks/updateSuperUsers.ts
+++ b/src/tasks/updateSuperUsers.ts
@@ -1,5 +1,5 @@
-import { BushTask } from '../lib/extensions/discord-akairo/BushTask';
-import { Global } from '../lib/models/Global';
+import { BushTask } from '../lib/extensions/discord-akairo/BushTask.js';
+import { Global } from '../lib/models/Global.js';
export default class UpdateSuperUsersTask extends BushTask {
public constructor() {