aboutsummaryrefslogtreecommitdiff
path: root/src/tasks/cache
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-28 21:51:17 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-28 21:51:17 -0400
commit14eb0e617b084080c4cffc5b781b311c65c5f928 (patch)
tree9aaf1734c1e739814a913afeda40c56b0f84df61 /src/tasks/cache
parent03b26d5f00422f3aaddce3db2186765863b1eca0 (diff)
downloadtanzanite-14eb0e617b084080c4cffc5b781b311c65c5f928.tar.gz
tanzanite-14eb0e617b084080c4cffc5b781b311c65c5f928.tar.bz2
tanzanite-14eb0e617b084080c4cffc5b781b311c65c5f928.zip
rebrand v3
Diffstat (limited to 'src/tasks/cache')
-rw-r--r--src/tasks/cache/cpuUsage.ts4
-rw-r--r--src/tasks/cache/updateCache.ts4
-rw-r--r--src/tasks/cache/updateHighlightCache.ts5
-rw-r--r--src/tasks/cache/updateNeuItemCache.ts4
-rw-r--r--src/tasks/cache/updatePriceItemCache.ts4
5 files changed, 10 insertions, 11 deletions
diff --git a/src/tasks/cache/cpuUsage.ts b/src/tasks/cache/cpuUsage.ts
index 61e7a54..3cd52ba 100644
--- a/src/tasks/cache/cpuUsage.ts
+++ b/src/tasks/cache/cpuUsage.ts
@@ -1,7 +1,7 @@
-import { BushTask, Time } from '#lib';
+import { BotTask, Time } from '#lib';
import os from 'node:os';
-export default class CpuUsageTask extends BushTask {
+export default class CpuUsageTask extends BotTask {
public constructor() {
super('cpuUsage', {
delay: Time.Minute,
diff --git a/src/tasks/cache/updateCache.ts b/src/tasks/cache/updateCache.ts
index 190e2a4..8b42ad3 100644
--- a/src/tasks/cache/updateCache.ts
+++ b/src/tasks/cache/updateCache.ts
@@ -1,6 +1,6 @@
-import { BushTask, Time, updateEveryCache } from '#lib';
+import { BotTask, Time, updateEveryCache } from '#lib';
-export default class UpdateCacheTask extends BushTask {
+export default class UpdateCacheTask extends BotTask {
public constructor() {
super('updateCache', {
delay: 5 * Time.Minute,
diff --git a/src/tasks/cache/updateHighlightCache.ts b/src/tasks/cache/updateHighlightCache.ts
index 4ab5544..90139a6 100644
--- a/src/tasks/cache/updateHighlightCache.ts
+++ b/src/tasks/cache/updateHighlightCache.ts
@@ -1,7 +1,6 @@
-import { BushTask } from '../../../lib/extensions/discord-akairo/BushTask.js';
-import { Time } from '../../../lib/utils/BushConstants.js';
+import { BotTask, Time } from '#lib';
-export default class UpdateHighlightCacheTask extends BushTask {
+export default class UpdateHighlightCacheTask extends BotTask {
public constructor() {
super('updateHighlightCache', {
delay: 5 * Time.Minute,
diff --git a/src/tasks/cache/updateNeuItemCache.ts b/src/tasks/cache/updateNeuItemCache.ts
index 14c107b..5c88377 100644
--- a/src/tasks/cache/updateNeuItemCache.ts
+++ b/src/tasks/cache/updateNeuItemCache.ts
@@ -1,6 +1,6 @@
-import { BushTask, Time } from '#lib';
+import { BotTask, Time } from '#lib';
-export default class UpdateNeuItemCache extends BushTask {
+export default class UpdateNeuItemCache extends BotTask {
public constructor() {
super('updateNeuItemCache', {
delay: 1 * Time.Hour,
diff --git a/src/tasks/cache/updatePriceItemCache.ts b/src/tasks/cache/updatePriceItemCache.ts
index bafbfaf..04ae19a 100644
--- a/src/tasks/cache/updatePriceItemCache.ts
+++ b/src/tasks/cache/updatePriceItemCache.ts
@@ -1,7 +1,7 @@
-import { BushTask, Time } from '#lib';
+import { BotTask, Time } from '#lib';
import PriceCommand, { AuctionAverages, Bazaar, LowestBIN } from '../../commands/utilities/price.js';
-export default class UpdatePriceItemCache extends BushTask {
+export default class UpdatePriceItemCache extends BotTask {
public constructor() {
super('updatePriceItemCache', {
delay: 10 * Time.Minute,