Clarify TZ Database help message

This commit is contained in:
Noikoio 2019-01-30 21:21:35 -08:00
parent 15e7d766a2
commit 76c94c8d59
2 changed files with 8 additions and 7 deletions

View file

@ -4,8 +4,8 @@
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<RootNamespace>BirthdayBot</RootNamespace> <RootNamespace>BirthdayBot</RootNamespace>
<TargetFramework>netcoreapp2.0</TargetFramework> <TargetFramework>netcoreapp2.0</TargetFramework>
<Version>0.5.0</Version> <Version>0.5.1</Version>
<AssemblyVersion>0.5.0.0</AssemblyVersion> <AssemblyVersion>0.5.1.0</AssemblyVersion>
<Authors>Noikoio</Authors> <Authors>Noikoio</Authors>
<Company /> <Company />
<Description>Discord bot for birthday reminders.</Description> <Description>Discord bot for birthday reminders.</Description>
@ -16,6 +16,8 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<NoWarn /> <NoWarn />
<WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors> <WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors>
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

View file

@ -90,11 +90,10 @@ Friend Class HelpInfoCommands
End Function End Function
Private Async Function CmdHelpTzdata(param As String(), reqChannel As SocketTextChannel, reqUser As SocketGuildUser) As Task Private Async Function CmdHelpTzdata(param As String(), reqChannel As SocketTextChannel, reqUser As SocketGuildUser) As Task
Const tzhelp = "To ensure that events are recognized at your local time, you may specify the local time " + Const tzhelp = "To have events recognized in your local time, you may specify a time zone. Time zone names " +
"zone for events and birthdays. Time zone parameters take values from the IANA Time Zone Database, " + "from the IANA Time Zone Database (a.k.a. Olson Database) are recognized by this bot." + vbLf + vbLf +
"also known as the Olson Database." + vbLf + vbLf + "These values can be found at the following link, under the 'TZ database name' column: " +
"A list of values can be found at the following link: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" + "https://en.wikipedia.org/wiki/List_of_tz_database_time_zones"
"Most zone names within this list are supported."
Dim embed As New EmbedBuilder Dim embed As New EmbedBuilder
embed.AddField(New EmbedFieldBuilder() With { embed.AddField(New EmbedFieldBuilder() With {
.Name = "Regarding time zone parameters", .Name = "Regarding time zone parameters",