Skip to content

Commit

Permalink
Update interactions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
baronkobama authored and Lulalaby committed Jul 4, 2022
1 parent d0d7451 commit 4dbb11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _from_data(self, data: InteractionPayload):
self.locale: Optional[str] = data.get("locale")
self.guild_locale: Optional[str] = data.get("guild_locale")
self.custom_id: Optional[str] = self.data.get("custom_id") if self.data is not None else None
self._app_permissions: int = int(data.get("app_permissions"))
self._app_permissions: int = int(data.get("app_permissions", 0))

self.message: Optional[Message] = None

Expand Down

0 comments on commit 4dbb11f

Please sign in to comment.