Skip to content

Commit dd62cc3

Browse files
authored
Make TextChannel._get_channel async (#1358)
1 parent 4d80dd5 commit dd62cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def _repr_attrs(self) -> Tuple[str, ...]:
713713
def _update(self, guild: Guild, data: TextChannelPayload) -> None:
714714
super()._update(guild, data)
715715

716-
def _get_channel(self) -> "TextChannel":
716+
async def _get_channel(self) -> "TextChannel":
717717
return self
718718

719719
def is_news(self) -> bool:

0 commit comments

Comments
 (0)