Skip to content

Commit

Permalink
fix: fix author name and icon for replies
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Nov 9, 2023
1 parent 0c550ab commit fa64d35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/managers/NetworkManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ export default class NetworkManager extends Factory {
? new EmbedBuilder({
description: replyContent,
author: {
name: `${referredMessage?.author.username.slice(0, 30)}`,
icon_url: referredMessage?.author.displayAvatarURL(),
name: `${referredAuthor?.username.slice(0, 30)}`,
icon_url: referredAuthor?.displayAvatarURL(),
},
}).setColor('Random')
: undefined;
Expand Down

0 comments on commit fa64d35

Please sign in to comment.