From 7a28ba077715cf4a1ca98a3e2a26c4c94e4d5007 Mon Sep 17 00:00:00 2001 From: nightrich Date: Sat, 31 Oct 2020 03:42:48 +0300 Subject: [PATCH] PREFIX env. var renamed to DEFAULT_PREFIX --- src/Asena.ts | 2 +- src/updater/ActivityUpdater.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Asena.ts b/src/Asena.ts index d1d7b8a..a0cc4ca 100644 --- a/src/Asena.ts +++ b/src/Asena.ts @@ -5,7 +5,7 @@ export default class Asena extends SuperClient{ constructor(){ super({ - prefix: process.env.PREFIX ?? '!a', + prefix: process.env.DEFAULT_PREFIX ?? '!a', isDevBuild: process.env.NODE_ENV !== 'production' }) diff --git a/src/updater/ActivityUpdater.ts b/src/updater/ActivityUpdater.ts index 7cf8412..4db2176 100644 --- a/src/updater/ActivityUpdater.ts +++ b/src/updater/ActivityUpdater.ts @@ -26,7 +26,7 @@ export default class ActivityUpdater extends Factory{ } private getActivityString(): string{ - return `${Constants.CONFETTI_REACTION_EMOJI} ${this.counter} Sunucu | ${process.env.PREFIX}help\nhttps://asena.xyz` + return `${Constants.CONFETTI_REACTION_EMOJI} ${this.counter} Sunucu | ${process.env.DEFAULT_PREFIX}help\nhttps://asena.xyz` } private setGuildCounterListeners(): void{