mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-26 11:45:37 -05:00
idk whose house it is but yes
This commit is contained in:
parent
c4ddd6aebb
commit
1f628e8e92
@ -5,7 +5,7 @@ export default {
|
||||
execute: async(client:TClient, msg:Discord.Message)=>{
|
||||
if (!client.config.botSwitches.logs) return;
|
||||
const channel = client.channels.resolve(client.config.mainServer.channels.logs) as Discord.TextChannel;
|
||||
const disabledChannels = ['548032776830582794']
|
||||
const disabledChannels = ['548032776830582794', '541677709487505408']
|
||||
if (msg.guild?.id != client.config.mainServer.id) return;
|
||||
if (msg.partial) return;
|
||||
if (msg.author.bot) return;
|
||||
|
@ -4,7 +4,7 @@ export default {
|
||||
name: 'messageUpdate',
|
||||
execute: async(client:TClient, oldMsg:Discord.Message, newMsg:Discord.Message)=>{
|
||||
if (!client.config.botSwitches.logs) return;
|
||||
const disabledChannels = ['548032776830582794']
|
||||
const disabledChannels = ['548032776830582794', '541677709487505408']
|
||||
if (oldMsg.guild?.id != client.config.mainServer.id) return;
|
||||
if (oldMsg.author == null) return;
|
||||
if (oldMsg?.author.bot) return;
|
||||
|
Loading…
Reference in New Issue
Block a user