fix: include shard_id in redis channel

This commit is contained in:
spiral 2022-05-10 07:32:14 -04:00
parent abb01aaf2c
commit 799279054d
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
4 changed files with 23 additions and 15 deletions

View file

@ -73,7 +73,7 @@ public class Bot
}
};
_services.Resolve<RedisGatewayService>().OnEventReceived += (evt) => OnEventReceivedInner(0, evt);
_services.Resolve<RedisGatewayService>().OnEventReceived += (e) => OnEventReceivedInner(e.Item1, e.Item2);
// Init the shard stuff
_services.Resolve<ShardInfoService>().Init();