mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-22 03:05:16 +00:00
Fix accidental squashed command handler
This commit is contained in:
parent
67449ffa54
commit
f9c20e73a8
1 changed files with 0 additions and 9 deletions
|
@ -475,15 +475,6 @@ CommandHandler.RegisterCommand("loadsettings", _ => {
|
|||
return "Loaded settings.json";
|
||||
});
|
||||
|
||||
async CommandHandler.RegisterCommand("reconnect", _ => {
|
||||
// this should be async'ed but i'm lazy
|
||||
await bot.DisconnectAsync();
|
||||
Task.Delay(2500);
|
||||
await bot.ConnectAsync();
|
||||
Task.Delay(1000);
|
||||
return "reconnected successful";
|
||||
});
|
||||
|
||||
Console.CancelKeyPress += (_, e) => {
|
||||
e.Cancel = true;
|
||||
consoleLogger.Info("Received Ctrl+C");
|
||||
|
|
Loading…
Reference in a new issue