Skip to content

Commit

Permalink
Use tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial committed Jan 21, 2024
1 parent a50991b commit 9c13134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hikari/impl/entity_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2553,7 +2553,7 @@ def deserialize_command_interaction(

app_perms = payload.get("app_permissions")

entitlements = [self.deserialize_entitlement(entitlement) for entitlement in payload.get("entitlements", [])]
entitlements = [self.deserialize_entitlement(entitlement) for entitlement in payload.get("entitlements", ())]

return command_interactions.CommandInteraction(
app=self._app,
Expand Down

0 comments on commit 9c13134

Please sign in to comment.