From 6b10565b0a6562c3cc0cc3902297d14ba0564559 Mon Sep 17 00:00:00 2001 From: na2na-p Date: Sat, 6 Jan 2024 14:46:43 +0900 Subject: [PATCH] =?UTF-8?q?#306=E3=81=AE=E6=8C=87=E6=91=98=E4=BA=8B?= =?UTF-8?q?=E9=A0=85=E4=BF=AE=E6=AD=A3?= 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 ++- src/features/core/internal/Voice/internal/Voice.constants.ts | 0 ...nteractionMemberId.func.spec.ts => getActorId.func.spec.ts} | 0 3 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 src/features/core/internal/Voice/internal/Voice.constants.ts rename src/features/others/discord/internal/getActorId/internal/{getInteractionMemberId.func.spec.ts => getActorId.func.spec.ts} (100%) diff --git a/src/features/core/internal/Client/internal/Client.class.ts b/src/features/core/internal/Client/internal/Client.class.ts index 54989421..fa6ebe25 100644 --- a/src/features/core/internal/Client/internal/Client.class.ts +++ b/src/features/core/internal/Client/internal/Client.class.ts @@ -1,6 +1,7 @@ import { exit } from 'process'; import type { CommandBase } from '@/features/commands/index.js'; +import type { getConfig } from '@/features/config/index.js'; import type { ChatInputCommandInteraction } from '@/features/library/index.js'; import { Client as DiscordJsClient, @@ -13,7 +14,7 @@ import { log } from '@/features/others/log/index.js'; import type { ClassConstructorArgs } from './Client.types.js'; export class Client extends DiscordJsClient { - readonly #config; + readonly #config: ReturnType; private interactionCommands: ReadonlyArray = []; constructor({ config, commands }: ClassConstructorArgs) { diff --git a/src/features/core/internal/Voice/internal/Voice.constants.ts b/src/features/core/internal/Voice/internal/Voice.constants.ts deleted file mode 100644 index e69de29b..00000000 diff --git a/src/features/others/discord/internal/getActorId/internal/getInteractionMemberId.func.spec.ts b/src/features/others/discord/internal/getActorId/internal/getActorId.func.spec.ts similarity index 100% rename from src/features/others/discord/internal/getActorId/internal/getInteractionMemberId.func.spec.ts rename to src/features/others/discord/internal/getActorId/internal/getActorId.func.spec.ts