Allow everyone ping dot command
This commit is contained in:
parent
e29a54b0d9
commit
d1ac674c6b
@ -4,7 +4,7 @@ module.exports = {
|
||||
name: "ping",
|
||||
description: "pong",
|
||||
usage: "ping pong",
|
||||
permission: "devTeam",
|
||||
permission: "everyone",
|
||||
async execute(message, commandData) {
|
||||
if (fn.dotCommands.checkPermissions(this.permission, message.author.id)) {
|
||||
try {
|
||||
|
@ -286,6 +286,8 @@ const functions = {
|
||||
return matchFound;
|
||||
} else if (type === "owner") {
|
||||
return config.ownerId === userId;
|
||||
} else if (type === "everyone") {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user