Skip to content

Commit b862ca3

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 9b0a76f commit b862ca3

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

discord/guild.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3955,7 +3955,9 @@ async def chunk(self, *, cache: bool = True) -> None:
39553955
if not self._state.is_guild_evicted(self):
39563956
return await self._state.chunk_guild(self, cache=cache)
39573957

3958-
async def request_channel_info(self, *, cache: bool = True) -> None | list[ChannelInfo]:
3958+
async def request_channel_info(
3959+
self, *, cache: bool = True
3960+
) -> None | list[ChannelInfo]:
39593961
"""|coro|
39603962
39613963
Requests all channel statuses for this guild over the websocket.
@@ -3966,7 +3968,6 @@ async def request_channel_info(self, *, cache: bool = True) -> None | list[Chann
39663968
----------
39673969
cache: :class:`bool`
39683970
Whether to cache the channel statuses as well.
3969-
39703971
"""
39713972

39723973
if not self._state.is_guild_evicted(self):

discord/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,7 @@ async def request_guild_channel_info(
15701570
self._get_guild,
15711571
cache=cache,
15721572
)
1573-
ws = self._get_websocket(guild.id)
1573+
ws = self._get_websocket(guild.id)
15741574
await ws.request_channel_info(
15751575
guild.id, fields=["status", "voice_start_time"]
15761576
)

0 commit comments

Comments
 (0)