.restart fixed, close #1743
This commit is contained in:
1 parent
3005ae3595
commit
ec539bf884
2 files changed
+3
-2
No files matched your search
@@ -335,7 +335,8 @@ namespace NadekoBot.Modules.Administration
|
||||
|
||||
await ReplyConfirmLocalized("restarting").ConfigureAwait(false);
|
||||
Process.Start(cmd.Cmd, cmd.Args);
|
||||
Environment.Exit(0);
|
||||
var sub = _cache.Redis.GetSubscriber();
|
||||
sub.Publish(_creds.RedisKey() + "_die", "", StackExchange.Redis.CommandFlags.FireAndForget);
|
||||
}
|
||||
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
|
||||
Reference in new issue
Block a user