From 5cc6ef49fb47cc26d71085256c1174e3b047759c Mon Sep 17 00:00:00 2001 From: FloatingMilkshake Date: Fri, 13 Dec 2024 21:57:12 -0500 Subject: [PATCH] /reminder list: Tweak formatting for reminders without text --- Commands/ReminderCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/ReminderCommands.cs b/Commands/ReminderCommands.cs index 063adc3..85cdf11 100644 --- a/Commands/ReminderCommands.cs +++ b/Commands/ReminderCommands.cs @@ -174,7 +174,7 @@ reminderCmd is null if (guildName != "DMs") reminderLocation += $" <#{reminder.ChannelId}>"; output += $"`{reminder.ReminderId}`:\n" - + $"> {reminderText}\n" + + (string.IsNullOrWhiteSpace(reminderText) ? "" : $"> {reminderText}\n") + (reminder.ReminderTime is null ? reminder.IsPrivate ? $"[Set ]({reminderLink}). This reminder will not be sent automatically."