mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 17:45:03 +00:00
Re-enable automod and other plugins for Zeppelin's own messages
This commit is contained in:
parent
d154a61d9f
commit
e893bd118d
1 changed files with 0 additions and 5 deletions
|
@ -20,11 +20,6 @@ export const MessageCreateEvt = messageSaverEvt({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't save the bot's own messages
|
|
||||||
if (meta.args.message.author.id === meta.pluginData.client.user?.id) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
await meta.pluginData.state.savedMessages.createFromMsg(meta.args.message);
|
await meta.pluginData.state.savedMessages.createFromMsg(meta.args.message);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue