diff --git a/src/commands/ban.ts b/src/commands/ban.ts index 81c03a4..4d7e46f 100644 --- a/src/commands/ban.ts +++ b/src/commands/ban.ts @@ -7,6 +7,7 @@ export default class Ban extends Command { super(client); this.name = 'ban'; this.description = 'Bans a member from the guild.'; + this.usage = 'ban [time] [reason]'; this.permissions = 2; this.guildOnly = true; this.enabled = true; @@ -27,7 +28,7 @@ export default class Ban extends Command { const reason = momentMilliseconds ? args.slice(2).join(' ') : args.slice(1).join(' '); return await this.client.util.moderation.ban(member, message.member, momentMilliseconds, reason); } catch (err) { - return this.client.util.handleError(err, message, this); + return this.client.util.handleError(err, message, this, false); } } } diff --git a/src/commands/eval.ts b/src/commands/eval.ts index 4531d13..6e78ba1 100644 --- a/src/commands/eval.ts +++ b/src/commands/eval.ts @@ -62,7 +62,7 @@ export default class Eval extends Command { return display.forEach((m) => message.channel.createMessage(`\`\`\`js\n${m}\n\`\`\``)); } catch (err) { - return this.client.util.handleError(err, message, this); + return this.client.util.handleError(err, message, this, false); } } } diff --git a/src/commands/game.ts b/src/commands/game.ts index 5c1a99a..a8f82a3 100644 --- a/src/commands/game.ts +++ b/src/commands/game.ts @@ -7,6 +7,7 @@ export default class Game extends Command { super(client); this.name = 'game'; this.description = 'Displays information about the member\'s game.'; + this.usage = 'game [member]'; this.permissions = 0; this.aliases = ['activity']; this.guildOnly = true; diff --git a/src/commands/ping.ts b/src/commands/ping.ts index add9428..6f20184 100644 --- a/src/commands/ping.ts +++ b/src/commands/ping.ts @@ -6,6 +6,7 @@ export default class Ping extends Command { super(client); this.name = 'ping'; this.description = 'Pings the bot'; + this.usage = 'ping'; this.permissions = 0; this.enabled = true; } diff --git a/src/commands/whois.ts b/src/commands/whois.ts index 2ef4290..7c8eb88 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -10,6 +10,7 @@ export default class Whois extends Command { super(client); this.name = 'whois'; this.description = 'Provides information on a member.'; + this.usage = 'whois [member]'; this.permissions = 0; this.guildOnly = true; this.enabled = true;