mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Type hint channel.py
This commit is contained in:
parent
eda02c2e91
commit
2beee8be14
File diff suppressed because it is too large
Load Diff
@ -461,7 +461,7 @@ class Guild(Hashable):
|
||||
for c in channels:
|
||||
factory, ch_type = _guild_channel_factory(c['type'])
|
||||
if factory:
|
||||
self._add_channel(factory(guild=self, data=c, state=self._state))
|
||||
self._add_channel(factory(guild=self, data=c, state=self._state)) # type: ignore
|
||||
|
||||
if 'threads' in data:
|
||||
threads = data['threads']
|
||||
|
Loading…
x
Reference in New Issue
Block a user