chore: remove 'src' directory from config file path definition.
This commit is contained in:
@@ -2,7 +2,7 @@ import { readFileSync, writeFileSync } from 'fs';
|
|||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
import { AuroraClient } from '@/lib/BotClient';
|
import { AuroraClient } from '@/lib/BotClient';
|
||||||
|
|
||||||
const configPath = join(process.cwd(), 'src', 'config', 'config.json');
|
const configPath = join(process.cwd(), 'config', 'config.json');
|
||||||
|
|
||||||
export const configManager = {
|
export const configManager = {
|
||||||
toggleCommand: (commandName: string, enabled: boolean) => {
|
toggleCommand: (commandName: string, enabled: boolean) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user