mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-21 18:55:17 +00:00
Fixed "Couldn't determine a response for this query" and removed testing command.
This commit is contained in:
parent
d3b8ede229
commit
8350133d49
2 changed files with 0 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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...>";
|
||||
|
|
Loading…
Reference in a new issue