mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-15 15:56:27 +02:00
upgrade wl et owner with best optimison with async fonction
This commit is contained in:
@@ -3,7 +3,7 @@ module.exports = {
|
||||
description: "Bloque la possibilité de parler dans un salon spécifique.",
|
||||
category: 'moderation',
|
||||
emote: '🔒',
|
||||
utilisation: '+lock [salon]',
|
||||
utilisation: 'lock [salon]',
|
||||
async execute(message, args, client) {
|
||||
let channel = message.mentions.channels.first() ||message.guild.channels.cache.get(args[0]) || message.channel;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user