Skip to content

Commit

Permalink
Permission changes
Browse files Browse the repository at this point in the history
Updated the permissions so only users with `ADMINISTRATOR` are able to use the commands to change the config.
  • Loading branch information
AdamT20054 authored Apr 23, 2022
1 parent c03aad8 commit 1721012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Commands/cooldown.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const Command = require("../Structures/Command.js");
module.exports = new Command({
name: "cooldown",
description: "Cooldown filler",
permission: "SEND_MESSAGES",
permission: "ADMINISTRATOR",

async run(message, args, client,) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/gasvalue.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const config = require("../Data/config.json");
module.exports = new Command({
name: "gasvalue",
description: "gas filler",
permission: "SEND_MESSAGES",
permission: "ADMINISTRATOR",

async run(message, args, client,) {
try {
Expand Down

0 comments on commit 1721012

Please sign in to comment.