From fecfa7d03bee0010c993187626e1b2c9ce458c5a Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sat, 8 Oct 2022 17:58:31 +0700 Subject: [PATCH] fix: lint Merge pull request #339 from xD33m/patch-1 --- src/structures/ApplicationCommand.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/structures/ApplicationCommand.js b/src/structures/ApplicationCommand.js index ec46bfe..c16bdf9 100644 --- a/src/structures/ApplicationCommand.js +++ b/src/structures/ApplicationCommand.js @@ -697,7 +697,9 @@ class ApplicationCommand extends Base { const subGroup = this.options.find( o => o.name == subCommandArray[0] && o.type == 'SUB_COMMAND_GROUP', ); - const subCommand = subGroup.options.find(o => o.name == subCommandArray[1] && o.type == 'SUB_COMMAND'); + const subCommand = subGroup.options.find( + o => o.name == subCommandArray[1] && o.type == 'SUB_COMMAND', + ); optionsBuild = [ { type: ApplicationCommandOptionTypes[subGroup.type],