From fe61f9c93f4edb4aba8ea0c040804037b3c449d9 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 22 Apr 2022 16:50:56 +0300 Subject: [PATCH] usageembed in command update --- src/structure/interfaces/commands/Command.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structure/interfaces/commands/Command.js b/src/structure/interfaces/commands/Command.js index 95a6252..e62bc27 100644 --- a/src/structure/interfaces/commands/Command.js +++ b/src/structure/interfaces/commands/Command.js @@ -50,10 +50,10 @@ class Command extends Component { throw new Error(`${this.resolveable} is missing an execute function.`); } - usageEmbed(interaction, verbose = false) { + usageEmbed(invoker, verbose = false) { const fields = []; - const { guild, subcommand } = interaction; + const { guild, subcommand } = invoker; const { permissions: { type } } = guild._settings; if (this.options.length) {