Compare commits

..

No commits in common. "95e9e2b55839f9ff20a9142d55f4210b38c33d89" and "a15b5fd6cfe808067ef256a4f58d62bb7e3a0870" have entirely different histories.

View file

@ -54,12 +54,8 @@ public class BirthdayModule : BotModuleBase {
return;
}
var response = $":white_check_mark: Your birthday has been set to **{FormatDate(inmonth, inday)}**";
if (inzone != null) response += $" at time zone **{inzone}**";
response += ".";
if (user.TimeZone == null)
response += "\n(Tip: The `/birthday set timezone` command ensures your birthday is recognized just in time!)";
await RespondAsync(response).ConfigureAwait(false);
await RespondAsync($":white_check_mark: Your birthday has been set to **{FormatDate(inmonth, inday)}**" +
(inzone == null ? "" : $" at time zone **{inzone}**") + ".").ConfigureAwait(false);
}
[SlashCommand("timezone", HelpCmdSetZone)]