mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-22 13:54:36 +00:00
Compare commits
No commits in common. "95e9e2b55839f9ff20a9142d55f4210b38c33d89" and "a15b5fd6cfe808067ef256a4f58d62bb7e3a0870" have entirely different histories.
95e9e2b558
...
a15b5fd6cf
1 changed files with 2 additions and 6 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue