el idiota
This commit is contained in:
parent
9f4cd06ebb
commit
7460487cc1
|
@ -216,8 +216,6 @@ client.on('message', async (message) => {
|
|||
const logs = client.channels.get(process.env.LOGS!);
|
||||
const privileged = message.member?.hasPermission(message.channel?.server!, 'ManageMessages');
|
||||
|
||||
if (!Object.keys(COMMANDS).includes(args[0]?.toLowerCase())) return;
|
||||
|
||||
if (!privileged && db.data?.blocked.includes(message.author_id)) {
|
||||
console.log('Ignoring nerd');
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue