1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 20:30:58 -05:00

Merge branch 'master' into sequelize-v7

This commit is contained in:
toast-ts 2024-02-25 20:42:26 +11:00
commit 14077381ac

View File

@ -105,7 +105,7 @@ client.on('raw', async (packet:RawGatewayPacket<RawMessageUpdate>)=>{
const channel = client.channels.cache.get(packet.d.channel_id) as Discord.TextBasedChannel;
// Switched to console.log to prevent useless embed creation that has same content as the original message.
Logger.console('log', 'RawEvent:Edit', `Message was edited in #${(channel as Discord.TextChannel).name}`);
if (!rawSwitches.MESSAGE_UPDATE) return Logger.console('log', 'RawEvent:Edit', `Message was edited in #${(channel as Discord.TextChannel).name}`);
});
client.on('raw', async (packet:RawGatewayPacket<RawMessageDelete>)=>{