From 9ef9aa1b40c280bfb2bf416b1a5ce5a2c069f142 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Tue, 14 Feb 2023 19:35:44 +0500 Subject: [PATCH] Use IUser#Mention property instead of wrapping the ID in mention syntax Signed-off-by: Octol1ttle --- Boyfriend.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Boyfriend.cs b/Boyfriend.cs index ea00f53..b8c406b 100644 --- a/Boyfriend.cs +++ b/Boyfriend.cs @@ -170,7 +170,7 @@ public static class Boyfriend { if (now < reminder.RemindAt) continue; var channel = guild.GetTextChannel(reminder.ReminderChannel); - var toSend = $"{ReplyEmojis.Reminder} <@{mData.Id}> {Utils.Wrap(reminder.ReminderText)}"; + var toSend = $"{ReplyEmojis.Reminder} {user.Mention} {Utils.Wrap(reminder.ReminderText)}"; if (channel is not null) await channel.SendMessageAsync(toSend); else