refactor: rename game.json to config.json and update file path references

This commit is contained in:
syntaxbullet
2025-12-15 22:02:35 +01:00
parent 3984d6112b
commit 3c81fd8396
3 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import { readFileSync, existsSync } from 'fs'; import { readFileSync, existsSync } from 'fs';
import { join } from 'path'; 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 { export interface GameConfigType {
leveling: { leveling: {

View File

@@ -2,7 +2,7 @@ import { readFileSync, writeFileSync } from 'fs';
import { join } from 'path'; import { join } from 'path';
import { KyokoClient } from '@/lib/BotClient'; 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 = { export const configManager = {
toggleCommand: (commandName: string, enabled: boolean) => { toggleCommand: (commandName: string, enabled: boolean) => {