mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-28 08:55:38 -05:00
bru #5
This commit is contained in:
parent
53f1c7090e
commit
84a3c02370
@ -4,6 +4,7 @@ export default {
|
||||
name: 'messageUpdate',
|
||||
execute: async(client:TClient, oldMsg:Discord.Message, newMsg:Discord.Message)=>{
|
||||
if (!client.config.botSwitches.logs) return;
|
||||
if (oldMsg.guild?.id != client.config.mainServer.id) return;
|
||||
if (oldMsg.author == null) return;
|
||||
if (oldMsg?.author.bot) return;
|
||||
if (oldMsg.partial) return;
|
||||
|
Loading…
Reference in New Issue
Block a user