From 6d0a1fa357a12e8e128b5c4c3fd828f3e0f83de3 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 3 May 2020 14:59:27 -0400 Subject: [PATCH] return help on kick if no args specified --- src/commands/kick.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/kick.ts b/src/commands/kick.ts index af1439c..45c3de4 100644 --- a/src/commands/kick.ts +++ b/src/commands/kick.ts @@ -14,6 +14,7 @@ export default class Kick extends Command { public async run(message: Message, args: string[]) { try { + if (!args[0]) return this.client.commands.get('help').run(message, [this.name]); const member = this.client.util.resolveMember(args[0], this.client.guilds.get(this.client.config.guildID)); let user: User; if (!member) {