1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 08:20:59 -04:00

Disable debugging for MPLoop

This commit is contained in:
Toast 2023-08-20 10:24:41 +10:00
parent 7c3df9a896
commit d8b80fd833
2 changed files with 2 additions and 2 deletions

View File

@ -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:' : '';

View File

@ -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){