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

View file

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