Skip to content

Commit

Permalink
Update CommandBirthday.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
monambike committed Jun 19, 2024
1 parent 0c6beb3 commit c853e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KWiJisho/Commands/CommandBirthday.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public static async Task ExecuteBirthdayListAsync(DiscordChannel discordChannel,
if (member is not null)
{
// Formatting member name
var nickname = member.DisplayName == member.Username ? member.DisplayName : $"({member.DisplayName}, {member.Username})";
var nickname = member.DisplayName == member.Username ? member.DisplayName : $"{member.DisplayName}, {member.Username}";

// Formatting user field with name and birthday month and day.
usersBirthdayThisMonthString += $"{userBirthdayThisMonth.Birthday:dd/MM} - {userBirthdayThisMonth.FirstName} ({nickname}){Environment.NewLine}";
Expand Down

0 comments on commit c853e9c

Please sign in to comment.