From 0c0f6ee5c27ef0565eec1513dde15b1e365685ad Mon Sep 17 00:00:00 2001 From: Noikoio Date: Mon, 27 May 2019 19:55:21 -0700 Subject: [PATCH] Fix bb.config failing with no subcommand parameters --- BirthdayBot/UserInterface/ManagerCommands.vb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/BirthdayBot/UserInterface/ManagerCommands.vb b/BirthdayBot/UserInterface/ManagerCommands.vb index 0585254..fa72983 100644 --- a/BirthdayBot/UserInterface/ManagerCommands.vb +++ b/BirthdayBot/UserInterface/ManagerCommands.vb @@ -50,11 +50,6 @@ Friend Class ManagerCommands Return End If - If param.Length <> 3 Then - Await reqChannel.SendMessageAsync(GenericError) - Return - End If - ' Special case: Restrict 'modrole' to only guild managers 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.")