Skip to content

Commit

Permalink
add msgId to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
akpi816218 committed May 15, 2024
1 parent a851a73 commit 96880fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/events/messageDelete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export const execute = async (message: Message) => {
name: 'Channel',
value: channelMention(message.channel.id)
},
{
name: 'Message ID',
value: message.id
},
{
name: 'Content',
value: message.content
Expand Down
4 changes: 4 additions & 0 deletions src/events/messageUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export const execute = async (old: Message, updated: Message) => {
name: 'Channel',
value: channelMention(updated.channel.id)
},
{
name: 'Message ID',
value: updated.id
},
{
name: 'Initial Content',
value: old.content
Expand Down

0 comments on commit 96880fc

Please sign in to comment.