Skip to content

Commit

Permalink
Update MessageLogs.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
alepouna authored Dec 19, 2024
1 parent 13144e0 commit 7fbb7d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/logging/MessageLogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export const messageUpdate: LogDefinition = {
const logChannel = getLogChannel(oldMsg);
if (!logChannel) return;

if (oldMsg.content = newMsg.content) return; // We do not want to log down messages just cuz the embed updated (we don't log the embed so it doesn't matter)

const embed = createEmbed(
{
color: Colors.ORANGE,
Expand Down

0 comments on commit 7fbb7d1

Please sign in to comment.