aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/kick.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/kick.ts')
-rw-r--r--src/commands/moderation/kick.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moderation/kick.ts b/src/commands/moderation/kick.ts
index d4edb07..34c1b76 100644
--- a/src/commands/moderation/kick.ts
+++ b/src/commands/moderation/kick.ts
@@ -7,7 +7,7 @@ export default class KickCommand extends BushCommand {
category: 'moderation',
description: {
content: 'Kick a user.',
- usage: 'kick <member> <reason>',
+ usage: ['kick <member> <reason>'],
examples: ['kick @user bad']
},
args: [
@@ -58,7 +58,7 @@ export default class KickCommand extends BushCommand {
public override async exec(
message: BushMessage | BushSlashMessage,
{ user, reason, force }: { user: BushUser; reason?: string; force: boolean }
- ): Promise<unknown> {
+ ) {
const member = await message.guild!.members.fetch(user.id);
if (!member)