From 12fc946cfca5ec54bfd3a0f0cfcf9521021ce749 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sun, 10 Jul 2022 12:06:37 +0300 Subject: [PATCH] bugfix --- src/structure/components/commands/moderation/Note.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/structure/components/commands/moderation/Note.js b/src/structure/components/commands/moderation/Note.js index da1856f..60d434a 100644 --- a/src/structure/components/commands/moderation/Note.js +++ b/src/structure/components/commands/moderation/Note.js @@ -19,16 +19,13 @@ class NoteCommand extends ModerationCommand { }); } - async execute(interaction, { users, silent, ...args }) { + async execute(interaction, { users, ...args }) { if (!users) throw new CommandError(interaction, { index: 'MODERATION_MISSING_USERS' }); return this.client.moderationManager.handleInfraction(Note, interaction, { targets: users.value, - args: { - silent, - ...args - } + args }); }