mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 13:54:36 +00:00
Fix bb.when output
(I don't get how this fixed it)
This commit is contained in:
parent
7500590113
commit
6f4222497e
2 changed files with 7 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<Version>2.0.0</Version>
|
||||
<Version>2.0.1</Version>
|
||||
<PackageId>BirthdayBot</PackageId>
|
||||
<Authors>NoiTheCat</Authors>
|
||||
<Product>BirthdayBot</Product>
|
||||
|
|
|
@ -253,9 +253,12 @@ namespace BirthdayBot.UserInterface
|
|||
return;
|
||||
}
|
||||
|
||||
await reqChannel.SendMessageAsync(Common.FormatName(searchTarget, false) + ": "
|
||||
+ $"`{ searchTargetData.BirthDay.ToString("00")}-{Common.MonthNames[searchTargetData.BirthMonth]}`"
|
||||
+ searchTargetData.TimeZone == null ? "" : $" - `{ searchTargetData.TimeZone}`");
|
||||
string result = Common.FormatName(searchTarget, false);
|
||||
result += ": ";
|
||||
result += $"`{searchTargetData.BirthDay:00}-{Common.MonthNames[searchTargetData.BirthMonth]}`";
|
||||
result += searchTargetData.TimeZone == null ? "" : $" - `{searchTargetData.TimeZone}`";
|
||||
|
||||
await reqChannel.SendMessageAsync(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue