Skip to content

Commit 38f4208

Browse files
authored
fix: fix incorrect guild_id in modifing cache (#945)
1 parent 49f6d23 commit 38f4208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/api/gateway/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def _dispatch_event(self, event: str, data: dict) -> None:
403403

404404
def __modify_guild_cache():
405405
if not (
406-
guild_id := data.get("guild_id")
406+
(guild_id := data.get("guild_id"))
407407
and not isinstance(obj, Guild)
408408
and "message" not in name
409409
):

0 commit comments

Comments
 (0)