if(!tm){returnmessage.channel.send("Your server doesn't have monitoring enabled. If it's something you actually think you'll use, feel free to run `setup` on this command to enable it!");}
if(!tm){returnmessage.channel.send("Your server doesn't have monitoring enabled. If it's something you actually think you'll use, feel free to run `setup` on this command to enable it!");}
if((tg&&tg.staffrole&&tg.staffrole.length&&!message.member.roles.cache.has(tg.staffrole))&&!message.member.permissions.has("ADMINISTRATOR")){returnmessage.channel.send("You must be an administrator or have the staff role in your server in order to use this command!");}
letconf=awaitask(message,"Are you sure you want to disable monitors for this server? This will delete all monitoring data.",60000);
letconf=awaitask(message,"Are you sure you want to disable monitors for this server? This will delete all monitoring data.",60000);
if(!conf||!['yes','y'].includes(conf.toLowerCase().trim())){returnmessage.channel.send("Okay. I won't delete or disable anything.");}
if(!conf||!['yes','y'].includes(conf.toLowerCase().trim())){returnmessage.channel.send("Okay. I won't delete or disable anything.");}