From a6c98ac3742fcc1725b0f7a3dece334f9fa0ea12 Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Sat, 27 Jun 2026 08:55:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20correct=20occured=E2=86=92occurred=20typ?= =?UTF-8?q?o=20in=20error=20messages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xp.js b/xp.js index 402dc25..28fb4db 100644 --- a/xp.js +++ b/xp.js @@ -384,11 +384,11 @@ if(config.registercommands === true) { async function registerSlashCommands(dir) {; fs.readdir(path.join(__dirname, dir), async (err, files) => { if(err){ - return console.log(chalk.red('An error occured when checking the commands folder for commands to load: ' + err)); + return console.log(chalk.red('An error occurred when checking the commands folder for commands to load: ' + err)); }; files.forEach(async (file) => { fs.stat(path.join(__dirname, dir, file), (err, stat) => { - if(err) return console.log(chalk.red('An error occured when checking the commands folder for commands to load: ' + err)); + if(err) return console.log(chalk.red('An error occurred when checking the commands folder for commands to load: ' + err)); if(stat.isDirectory()) { registerSlashCommands(path.join(dir, file)); } else {