From b3a918a8cac181fcd3d1cb5b5a20304399833c7b Mon Sep 17 00:00:00 2001 From: Toast <96593068+AnxietyisReal@users.noreply.github.com> Date: Fri, 18 Aug 2023 03:06:00 +1000 Subject: [PATCH] Rename client-error to match the rest --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 54eb02b..6305a9b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -41,7 +41,7 @@ function DZ(error:Error, type:string){// Yes, I may have shiternet but I don't n process.on('unhandledRejection', (error: Error)=>DZ(error, 'unhandledRejection')); process.on('uncaughtException', (error: Error)=>DZ(error, 'uncaughtException')); process.on('error', (error: Error)=>DZ(error, 'nodeError')); -client.on('error', (error: Error)=>DZ(error, 'client-error')); +client.on('error', (error: Error)=>DZ(error, 'clientError')); // Audio Player event handling if (client.config.botSwitches.music){