Skip to content

Commit 4b903f4

Browse files
authored
Update discord/interactions.py
Signed-off-by: Dorukyum <[email protected]>
1 parent 48d4396 commit 4b903f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ def __init__(self, data: dict[str, Any], state: ConnectionState):
15711571
self.user_id = (
15721572
int(uid) if (uid := data.get("1")) is not None else None
15731573
)
1574-
self.guild_id = int(guild_id) if (guild_id := data.get("0", None) is not None else None
1574+
self.guild_id = int(guild_id) if (guild_id := data.get("0", None)) is not None else None
15751575

15761576
def __repr__(self):
15771577
return f"<AuthorizingIntegrationOwners user_id={self.user_id} guild_id={self.guild_id}>"

0 commit comments

Comments
 (0)