mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-22 18:19:25 +02:00
Update global
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = {
|
||||
},
|
||||
);
|
||||
});
|
||||
if (user.blacklist == true) {
|
||||
if (user.blacklist == 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -39,8 +39,10 @@ module.exports = {
|
||||
message.member,
|
||||
);
|
||||
if (
|
||||
permissionLevel < command.permission &&
|
||||
!client.config.owners.includes(message.author.id)
|
||||
(permissionLevel <= command.permission) &&
|
||||
(client.config.owners.includes(!message.author.id) /*||
|
||||
(!message.guild.ownerId == message.author.id)*/
|
||||
)
|
||||
) {
|
||||
return message.reply(
|
||||
"Vous n'avez pas la permission d'utiliser cette commande.",
|
||||
@@ -50,7 +52,7 @@ module.exports = {
|
||||
try {
|
||||
command.execute(message, args, client);
|
||||
console.log(
|
||||
`[${prefix}}] ${message.guild.name} | ${message.author.tag} | ${command.name}`
|
||||
`[${prefix}] ${message.guild.name} | ${message.author.tag} | ${command.name}`
|
||||
.blue,
|
||||
);
|
||||
loggT(
|
||||
|
||||
Reference in New Issue
Block a user