From 3c81fd83966c53a82103d9e6b19d73ef01ae941f Mon Sep 17 00:00:00 2001 From: syntaxbullet Date: Mon, 15 Dec 2025 22:02:35 +0100 Subject: [PATCH] refactor: rename `game.json` to `config.json` and update file path references --- src/config/{game.json => config.json} | 0 src/lib/config.ts | 2 +- src/lib/configManager.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/config/{game.json => config.json} (100%) diff --git a/src/config/game.json b/src/config/config.json similarity index 100% rename from src/config/game.json rename to src/config/config.json diff --git a/src/lib/config.ts b/src/lib/config.ts index d692842..9f83678 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -1,7 +1,7 @@ import { readFileSync, existsSync } from 'fs'; import { join } from 'path'; -const configPath = join(process.cwd(), 'src', 'config', 'game.json'); +const configPath = join(process.cwd(), 'src', 'config', 'config.json'); export interface GameConfigType { leveling: { diff --git a/src/lib/configManager.ts b/src/lib/configManager.ts index 91d4cfe..d90232e 100644 --- a/src/lib/configManager.ts +++ b/src/lib/configManager.ts @@ -2,7 +2,7 @@ import { readFileSync, writeFileSync } from 'fs'; import { join } from 'path'; import { KyokoClient } from '@/lib/BotClient'; -const configPath = join(process.cwd(), 'src', 'config', 'game.json'); +const configPath = join(process.cwd(), 'src', 'config', 'config.json'); export const configManager = { toggleCommand: (commandName: string, enabled: boolean) => {