diff --git a/dot-commands/ping.js b/dot-commands/ping.js index cefb190..669e40b 100644 --- a/dot-commands/ping.js +++ b/dot-commands/ping.js @@ -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 { diff --git a/modules/functions.js b/modules/functions.js index a089835..2a4fe86 100755 --- a/modules/functions.js +++ b/modules/functions.js @@ -286,6 +286,8 @@ const functions = { return matchFound; } else if (type === "owner") { return config.ownerId === userId; + } else if (type === "everyone") { + return true; } }