diff --git a/Commands/Reminders.cs b/Commands/Reminders.cs index 2f6ea5e9..8e7c31aa 100644 --- a/Commands/Reminders.cs +++ b/Commands/Reminders.cs @@ -52,20 +52,20 @@ public async Task RemindMe( else { t = HumanDateParser.HumanDateParser.Parse(timetoParse); - if (t <= DateTime.Now) - { - await ctx.RespondAsync($"{Program.cfgjson.Emoji.Error} Time can't be in the past!"); - return; - } -#if !DEBUG - else if (t < (DateTime.Now + TimeSpan.FromSeconds(59))) - { - await ctx.RespondAsync($"{Program.cfgjson.Emoji.Error} Time must be at least a minute in the future!"); - return; - } -#endif } + if (t <= DateTime.Now) + { + await ctx.RespondAsync($"{Program.cfgjson.Emoji.Error} Time can't be in the past!"); + return; + } +#if !DEBUG + else if (t < (DateTime.Now + TimeSpan.FromSeconds(59))) + { + await ctx.RespondAsync($"{Program.cfgjson.Emoji.Error} Time must be at least a minute in the future!"); + return; + } +#endif string guildId;