Fixed "Couldn't determine a response for this query" and removed testing command.

This commit is contained in:
TheUbMunster 2022-07-29 11:16:24 -06:00
parent d3b8ede229
commit 8350133d49
2 changed files with 0 additions and 10 deletions

View File

@ -109,10 +109,6 @@ public class DiscordBot {
foreach (string mesg in SplitMessage(resp)) foreach (string mesg in SplitMessage(resp))
await msg.RespondAsync(mesg); await msg.RespondAsync(mesg);
} }
else
{
await msg.RespondAsync("Couldn't determine a response for the query.");
}
} catch (Exception e) { } catch (Exception e) {
Logger.Error(e); Logger.Error(e);
} }

View File

@ -196,12 +196,6 @@ server.PacketHandler = (c, p) => {
return true; return true;
}; };
#region Testing
//CommandHandler.RegisterCommand("testreallylongcommand", args => {
// return new string('a', 7000);
//});
#endregion
CommandHandler.RegisterCommand("rejoin", args => { CommandHandler.RegisterCommand("rejoin", args => {
if (args.Length == 0) { if (args.Length == 0) {
return "Usage: rejoin <* | usernames...>"; return "Usage: rejoin <* | usernames...>";