File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1187,7 +1187,7 @@ async def get_all_channels(self) -> List[Channel]:
11871187 """
11881188 if not self ._client :
11891189 raise AttributeError ("HTTPClient not found!" )
1190- res = self ._client .get_all_channels (int (self .id ))
1190+ res = await self ._client .get_all_channels (int (self .id ))
11911191 return [Channel (** channel , _client = self ._client ) for channel in res ]
11921192
11931193 async def get_all_roles (self ) -> List [Role ]:
@@ -1199,7 +1199,7 @@ async def get_all_roles(self) -> List[Role]:
11991199 """
12001200 if not self ._client :
12011201 raise AttributeError ("HTTPClient not found!" )
1202- res = self ._client .get_all_roles (int (self .id ))
1202+ res = await self ._client .get_all_roles (int (self .id ))
12031203 return [Role (** role , _client = self ._client ) for role in res ]
12041204
12051205 async def get_role (
You can’t perform that action at this time.
0 commit comments