mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -221,7 +221,7 @@ client.on('commandRun', command => {
|
||||
|
||||
client.dispatcher.addInhibitor(msg => {
|
||||
if (client.blacklist.user.includes(msg.author.id)) return 'blacklisted';
|
||||
if (client.blacklist.guild.includes(msg.guild.id)) return 'blacklisted';
|
||||
if (msg.guild && client.blacklist.guild.includes(msg.guild.id)) return 'blacklisted';
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user