Add level 2 permissions to some commands
This commit is contained in:
parent
3a99c7ce36
commit
53cb38c37d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue