Update panel.js

This commit is contained in:
Isaac 2020-08-28 21:12:02 +01:00 committed by GitHub
parent 9c8a8b3c2f
commit d3581d319a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ module.exports = {
aliases: ['widget'],
example: '',
args: false,
permission: 'MANAGE_SERVER',
permission: 'MANAGE_GUILD',
async execute(client, message, args, {config, Setting}) {
const guild = client.guilds.cache.get(config.guild);
@ -65,4 +65,4 @@ module.exports = {
log.info(`${message.author.tag} created a panel widget`);
}
};
};