Add level 2 permissions to some commands

This commit is contained in:
7cc5c4f330d47060 2024-07-22 14:44:02 -04:00
parent 3a99c7ce36
commit 53cb38c37d
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
module.exports={ module.exports={
execute: (c)=>{ execute: (c)=>{
if(c.type!="console") return; if(c.verify<2) return;
c.bot._client.end(); c.bot._client.end();
}, },
desc: "Does nothing", // Command description desc: "Does nothing", // Command description

View file

@ -1,6 +1,6 @@
module.exports={ module.exports={
execute: (c)=>{ execute: (c)=>{
if(c.type!="console") return; if(c.verify<2) return;
process.exit(0); process.exit(0);
}, },
desc: "Restart bot", // Command description desc: "Restart bot", // Command description