From deac75184b30caa3c7951ecf82d25fe08e5336bf Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 17 Nov 2019 00:50:01 -0500 Subject: [PATCH] l --- src/commands/bearer.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/bearer.ts b/src/commands/bearer.ts index d6908f7..08500d4 100644 --- a/src/commands/bearer.ts +++ b/src/commands/bearer.ts @@ -1,3 +1,4 @@ +/* eslint-disable consistent-return */ import { Message } from 'eris'; import { Command } from '../class'; import { Client } from '..'; @@ -6,13 +7,12 @@ export default class Bearer extends Command { constructor(client: Client) { super(client); this.name = 'bearer'; - this.description = 'Creates a new bearer token.'; - this.usage = `Run ${this.client.config.prefix}bearer`; - this.aliases = ['token']; + this.description = 'Creates a bearer token.'; + this.usage = `${this.client.config.prefix}bearer`; + this.guildOnly = false; this.enabled = true; } - // eslint-disable-next-line consistent-return public async run(message: Message) { try { const account = await this.client.db.Account.findOne({ userID: message.author.id });