Skip to content

Commit 7bba976

Browse files
Paillat-devCopilot
andauthored
Update discord/guild.py
Co-authored-by: Copilot <[email protected]> Signed-off-by: Paillat <[email protected]>
1 parent e272f0a commit 7bba976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/guild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2162,7 +2162,7 @@ async def edit(
21622162
fields["features"] = features
21632163

21642164
data = await http.edit_guild(self.id, reason=reason, **fields)
2165-
return Guild._from_data(data=data, state=self._state)
2165+
return await Guild._from_data(data=data, state=self._state)
21662166

21672167
async def fetch_channels(self) -> Sequence[GuildChannel]:
21682168
"""|coro|

0 commit comments

Comments
 (0)