.restartshard fix

This commit is contained in:
Master Kwoth 2017-10-29 10:49:39 +01:00
parent a17de3dc58
commit 8fff510dc7

View File

@ -273,7 +273,7 @@ namespace NadekoBot.Modules.Administration
return;
}
var pub = _cache.Redis.GetSubscriber();
pub.Publish(_creds.RedisKey() + "_shard_restart",
pub.Publish(_creds.RedisKey() + "_shardcoord_restart",
JsonConvert.SerializeObject(_client.ShardId),
StackExchange.Redis.CommandFlags.FireAndForget);
await ReplyConfirmLocalized("shard_reconnecting", Format.Bold("#" + shardid)).ConfigureAwait(false);