Allow everyone ping dot command

This commit is contained in:
Skylar Grant 2023-06-06 17:57:14 -04:00
parent e29a54b0d9
commit d1ac674c6b
2 changed files with 3 additions and 1 deletions

View File

@ -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 {

View File

@ -286,6 +286,8 @@ const functions = {
return matchFound;
} else if (type === "owner") {
return config.ownerId === userId;
} else if (type === "everyone") {
return true;
}
}