aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-06-29 03:37:52 -0400
committerRapptz <[email protected]>2021-06-29 03:37:52 -0400
commit2beee8be1408fe044e6c10b665ec0baf8b8425c2 (patch)
tree3be8da6419fa86cf9eb14cdb218a08bd9f4d159e /discord/guild.py
parent[types] VoiceChannel and StageChannel bitrate/user_limit is not null (diff)
downloaddiscord.py-2beee8be1408fe044e6c10b665ec0baf8b8425c2.tar.xz
discord.py-2beee8be1408fe044e6c10b665ec0baf8b8425c2.zip
Type hint channel.py
Diffstat (limited to 'discord/guild.py')
-rw-r--r--discord/guild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/guild.py b/discord/guild.py
index 024aa5d8..b43b12df 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -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']