Skip to content

Commit c2d8d7c

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 4b7b1c9 commit c2d8d7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

discord/bot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,9 @@ def _check_command(cmd: ApplicationCommand, match: Mapping[str, Any]) -> bool:
328328
]:
329329
# We have a difference
330330
return True
331-
elif (attr := getattr(cmd, check, None)) != (found := match.get(check)):
331+
elif (attr := getattr(cmd, check, None)) != (
332+
found := match.get(check)
333+
):
332334
# We might have a difference
333335
if "localizations" in check and bool(attr) == bool(found):
334336
# unlike other attrs, localizations are MISSING by default

0 commit comments

Comments
 (0)