From 8350133d49f73c6d8e68dd58171abb5c6ac71024 Mon Sep 17 00:00:00 2001 From: TheUbMunster <66451362+TheUbMunster@users.noreply.github.com> Date: Fri, 29 Jul 2022 11:16:24 -0600 Subject: [PATCH] Fixed "Couldn't determine a response for this query" and removed testing command. --- Server/DiscordBot.cs | 4 ---- Server/Program.cs | 6 ------ 2 files changed, 10 deletions(-) diff --git a/Server/DiscordBot.cs b/Server/DiscordBot.cs index e2c4765..fc3bb55 100644 --- a/Server/DiscordBot.cs +++ b/Server/DiscordBot.cs @@ -109,10 +109,6 @@ public class DiscordBot { foreach (string mesg in SplitMessage(resp)) await msg.RespondAsync(mesg); } - else - { - await msg.RespondAsync("Couldn't determine a response for the query."); - } } catch (Exception e) { Logger.Error(e); } diff --git a/Server/Program.cs b/Server/Program.cs index e6882f2..045a05d 100644 --- a/Server/Program.cs +++ b/Server/Program.cs @@ -196,12 +196,6 @@ server.PacketHandler = (c, p) => { return true; }; -#region Testing -//CommandHandler.RegisterCommand("testreallylongcommand", args => { -// return new string('a', 7000); -//}); -#endregion - CommandHandler.RegisterCommand("rejoin", args => { if (args.Length == 0) { return "Usage: rejoin <* | usernames...>";