mirror of https://gitlab.com/litecord/litecord.git
pubsub.lazy_guild: remove LazyGuildDispatcher.unsub
states subscribe via shard_query only.
This commit is contained in:
parent
3b2f6062fc
commit
7bcd08ef7a
|
|
@ -459,10 +459,6 @@ class LazyGuildDispatcher(Dispatcher):
|
|||
self.guild_map[guild_id]
|
||||
))
|
||||
|
||||
async def sub(self, chan_id, session_id):
|
||||
gml = await self.get_gml(chan_id)
|
||||
await gml.sub(session_id)
|
||||
|
||||
async def unsub(self, chan_id, session_id):
|
||||
gml = await self.get_gml(chan_id)
|
||||
await gml.unsub(session_id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue