Skip to content

Commit

Permalink
PREFIX env. var renamed to DEFAULT_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
anilmisirlioglu committed Oct 31, 2020
1 parent f422867 commit 7a28ba0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Asena.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})

Expand Down
2 changes: 1 addition & 1 deletion src/updater/ActivityUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 7a28ba0

Please sign in to comment.