.restartshard fix
This commit is contained in:
parent
a17de3dc58
commit
8fff510dc7
@ -273,7 +273,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var pub = _cache.Redis.GetSubscriber();
|
var pub = _cache.Redis.GetSubscriber();
|
||||||
pub.Publish(_creds.RedisKey() + "_shard_restart",
|
pub.Publish(_creds.RedisKey() + "_shardcoord_restart",
|
||||||
JsonConvert.SerializeObject(_client.ShardId),
|
JsonConvert.SerializeObject(_client.ShardId),
|
||||||
StackExchange.Redis.CommandFlags.FireAndForget);
|
StackExchange.Redis.CommandFlags.FireAndForget);
|
||||||
await ReplyConfirmLocalized("shard_reconnecting", Format.Bold("#" + shardid)).ConfigureAwait(false);
|
await ReplyConfirmLocalized("shard_reconnecting", Format.Bold("#" + shardid)).ConfigureAwait(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user