mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
Update panel.js
This commit is contained in:
parent
9c8a8b3c2f
commit
d3581d319a
@ -17,7 +17,7 @@ module.exports = {
|
|||||||
aliases: ['widget'],
|
aliases: ['widget'],
|
||||||
example: '',
|
example: '',
|
||||||
args: false,
|
args: false,
|
||||||
permission: 'MANAGE_SERVER',
|
permission: 'MANAGE_GUILD',
|
||||||
async execute(client, message, args, {config, Setting}) {
|
async execute(client, message, args, {config, Setting}) {
|
||||||
|
|
||||||
const guild = client.guilds.cache.get(config.guild);
|
const guild = client.guilds.cache.get(config.guild);
|
||||||
@ -65,4 +65,4 @@ module.exports = {
|
|||||||
|
|
||||||
log.info(`${message.author.tag} created a panel widget`);
|
log.info(`${message.author.tag} created a panel widget`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user