From c46529a20631738c5c2ed20330c5516c64860058 Mon Sep 17 00:00:00 2001 From: na2na-p Date: Wed, 7 Feb 2024 23:59:39 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AACO=E3=81=AE=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/core/internal/Client/internal/Client.class.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/features/core/internal/Client/internal/Client.class.ts b/src/features/core/internal/Client/internal/Client.class.ts index 254816eb..bd275ab5 100644 --- a/src/features/core/internal/Client/internal/Client.class.ts +++ b/src/features/core/internal/Client/internal/Client.class.ts @@ -78,12 +78,9 @@ export class Client extends DiscordJsClient { const interactionCommands = [...this.interactionCommands]; for (const command of commands) { - // コマンドのインスタンスを生成し、registerメソッドを呼び出す const commandInstance = new command({ store: this.#store, }).register(); - - // 新しいインスタンスを新しい配列に追加 interactionCommands.push(commandInstance); } this.interactionCommands = interactionCommands;