Skip to content

Commit

Permalink
不要なCOの削除
Browse files Browse the repository at this point in the history
  • Loading branch information
na2na-p committed Feb 7, 2024
1 parent 91846b8 commit c46529a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/features/core/internal/Client/internal/Client.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c46529a

Please sign in to comment.