diff --git a/src/MPLoop.ts b/src/MPLoop.ts index 028f95c..ed37f3e 100644 --- a/src/MPLoop.ts +++ b/src/MPLoop.ts @@ -14,7 +14,7 @@ export default async(client:TClient, Channel:string, Message:string, Server:TSer const genericEmbed = new client.embed(); // Log bot uptime for the sake of debugging. - (client.channels.resolve('1091300529696673792') as Discord.TextChannel).send(client.formatTime(client.uptime, 2, {longNames: true, commas: true})); + //(client.channels.resolve('1091300529696673792') as Discord.TextChannel).send(client.formatTime(client.uptime, 2, {longNames: true, commas: true})); const decoPlayer = (player:FSPlayer)=>{ let decorator = player.isAdmin ? ':detective:' : ''; diff --git a/src/index.ts b/src/index.ts index 7ce5a50..78aa97a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -42,7 +42,7 @@ 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, 'clientError')); -client.on('debug', console.log).on('warn', console.log); +//client.on('debug', console.log).on('warn', console.log); // Audio Player event handling if (client.config.botSwitches.music){