Add/update various messages

This commit is contained in:
Noikoio 2019-06-15 14:52:06 -07:00
parent 60fa8f40ec
commit 9608a29a8a
3 changed files with 7 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<RootNamespace>BirthdayBot</RootNamespace> <RootNamespace>BirthdayBot</RootNamespace>
<TargetFramework>netcoreapp2.0</TargetFramework> <TargetFramework>netcoreapp2.0</TargetFramework>
<Version>1.0.4</Version> <Version>1.0.5</Version>
<AssemblyVersion>1.0.4.0</AssemblyVersion> <AssemblyVersion>1.0.4.0</AssemblyVersion>
<Authors>Noiiko</Authors> <Authors>Noiiko</Authors>
<Company /> <Company />

View file

@ -160,8 +160,7 @@ Friend Class HelpInfoCommands
}, },
.Description = "Suggestions and feedback are always welcome. Please refer to the listing on Discord Bots " + .Description = "Suggestions and feedback are always welcome. Please refer to the listing on Discord Bots " +
"(discord.bots.gg) for information on reaching my personal server. I may not be available often, but I am happy to " + "(discord.bots.gg) for information on reaching my personal server. I may not be available often, but I am happy to " +
"respond to feedback in due time." + vbLf + "respond to feedback in due time."
"This bot remains very much in its early stages. Essential and quality-of-life features will be slowly added over time."
} }
Dim verstr = Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(3) Dim verstr = Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(3)
embed.AddField(New EmbedFieldBuilder With { embed.AddField(New EmbedFieldBuilder With {

View file

@ -51,6 +51,11 @@ Friend Class ManagerCommands
Return Return
End If End If
If param.Length < 2 Then
Await reqChannel.SendMessageAsync($":x: See `{CommandPrefix}help-config` for information on how to use this command.")
Return
End If
' Special case: Restrict 'modrole' to only guild managers ' Special case: Restrict 'modrole' to only guild managers
If param(1).Equals("modrole", StringComparison.OrdinalIgnoreCase) And Not reqUser.GuildPermissions.ManageGuild Then If param(1).Equals("modrole", StringComparison.OrdinalIgnoreCase) And Not reqUser.GuildPermissions.ManageGuild Then
Await reqChannel.SendMessageAsync(":x: This command may only be used by those with the `Manage Server` permission.") Await reqChannel.SendMessageAsync(":x: This command may only be used by those with the `Manage Server` permission.")