From fae3eab310c2483e716c18b8542675dcb857de65 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 27 Oct 2019 20:51:02 -0400 Subject: [PATCH] prefix should come from client, not directly --- src/commands/announce.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/announce.ts b/src/commands/announce.ts index f825536..7050077 100644 --- a/src/commands/announce.ts +++ b/src/commands/announce.ts @@ -1,5 +1,5 @@ import { Message } from 'eris'; -import { Client, config } from '..'; +import { Client } from '..'; import { Command } from '../class'; export default class Announce extends Command { @@ -7,7 +7,7 @@ export default class Announce extends Command { super(client); this.name = 'announce'; this.description = 'Sends an announcement to all active terminals'; - this.usage = `${config.prefix}announce Hi there! | ${config.prefix}announce -e EMERGENCY!`; + this.usage = `${this.client.config.prefix}announce Hi there! | ${this.client.config.prefix}announce -e EMERGENCY!`; this.aliases = ['ann']; this.permissions = { roles: ['608095934399643649', '521312697896271873'] }; this.enabled = true;