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) {