Skip to content

Commit

Permalink
Update messageDelete.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Akhil Pillai authored Dec 10, 2024
1 parent 075ff97 commit ee83870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/messageDelete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ export const execute = async (message: Message) => {
.setFields(
{
name: 'Author',
value: userMention(message.author.id)
value: userMention(message.author.id) ?? message.author.id
},
{
name: 'Channel',
value: channelMention(message.channel.id)
value: channelMention(message.channel.id) ?? message.channel.id
},
{
name: 'Message ID',
Expand Down

0 comments on commit ee83870

Please sign in to comment.