mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
Disable debugging for MPLoop
This commit is contained in:
parent
bf29b5016b
commit
a5630ed6c1
@ -14,7 +14,7 @@ export default async(client:TClient, Channel:string, Message:string, Server:TSer
|
|||||||
const genericEmbed = new client.embed();
|
const genericEmbed = new client.embed();
|
||||||
|
|
||||||
// Log bot uptime for the sake of debugging.
|
// 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)=>{
|
const decoPlayer = (player:FSPlayer)=>{
|
||||||
let decorator = player.isAdmin ? ':detective:' : '';
|
let decorator = player.isAdmin ? ':detective:' : '';
|
||||||
|
@ -42,7 +42,7 @@ process.on('unhandledRejection', (error: Error)=>DZ(error, 'unhandledRejection')
|
|||||||
process.on('uncaughtException', (error: Error)=>DZ(error, 'uncaughtException'));
|
process.on('uncaughtException', (error: Error)=>DZ(error, 'uncaughtException'));
|
||||||
process.on('error', (error: Error)=>DZ(error, 'nodeError'));
|
process.on('error', (error: Error)=>DZ(error, 'nodeError'));
|
||||||
client.on('error', (error: Error)=>DZ(error, 'clientError'));
|
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
|
// Audio Player event handling
|
||||||
if (client.config.botSwitches.music){
|
if (client.config.botSwitches.music){
|
||||||
|
Loading…
Reference in New Issue
Block a user