From 404177a4ebd29d147e341e5416aaaab23f66d116 Mon Sep 17 00:00:00 2001 From: Ed Halley <1223980+hariedo@users.noreply.github.com> Date: Fri, 14 Nov 2025 21:23:57 -0600 Subject: [PATCH 1/2] Wording changes to Reminders --- DiscordBot/Modules/ReminderModule.cs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/DiscordBot/Modules/ReminderModule.cs b/DiscordBot/Modules/ReminderModule.cs index 783cbea7..4ccbda3c 100644 --- a/DiscordBot/Modules/ReminderModule.cs +++ b/DiscordBot/Modules/ReminderModule.cs @@ -21,10 +21,15 @@ public class ReminderModule : ModuleBase [Summary("Reminds users of a message based on time. Syntax : !remindme 1hour30min Watch a tutorial")] public async Task RemindMe(string time, [Remainder] string message) { - if (Context.Message.MentionedEveryone || Context.Message.MentionedRoleIds.Count > 0 || - Context.Message.MentionedUserIds.Count > 0) + if (Context.Message.MentionedEveryone || Context.Message.MentionedRoleIds.Count > 0) { - await ReplyAsync("You can't mention anyone or roles in a reminder.").DeleteAfterSeconds(seconds: 5); + await ReplyAsync("You can't mention groups or roles in a reminder.").DeleteAfterSeconds(seconds: 5); + return; + } + + if (Context.Message.MentionedUserIds.Count > 0) + { + await ReplyAsync("You can't mention anyone or roles in a reminder.\n\"{message.ToString()}\"").DeleteAfterSeconds(seconds: 5); return; } @@ -177,4 +182,4 @@ public async Task RebootReminderService() } #endregion -} \ No newline at end of file +} From d2de4a67032a4e5b8e1ff20a561d9adad7f4abeb Mon Sep 17 00:00:00 2001 From: Ed Halley <1223980+hariedo@users.noreply.github.com> Date: Fri, 14 Nov 2025 22:08:09 -0600 Subject: [PATCH 2/2] Update ReminderModule.cs --- DiscordBot/Modules/ReminderModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DiscordBot/Modules/ReminderModule.cs b/DiscordBot/Modules/ReminderModule.cs index 4ccbda3c..7029734e 100644 --- a/DiscordBot/Modules/ReminderModule.cs +++ b/DiscordBot/Modules/ReminderModule.cs @@ -29,7 +29,7 @@ public async Task RemindMe(string time, [Remainder] string message) if (Context.Message.MentionedUserIds.Count > 0) { - await ReplyAsync("You can't mention anyone or roles in a reminder.\n\"{message.ToString()}\"").DeleteAfterSeconds(seconds: 5); + await ReplyAsync($"You can't mention anyone or roles in a reminder.\n\"{message.ToString()}\"").DeleteAfterSeconds(seconds: 15); return; }