1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-28 08:55:38 -05:00

Disable debugging for MPLoop

This commit is contained in:
toast-ts 2023-08-20 10:24:41 +10:00
parent 92281a9809
commit 39ce572292
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){