Skip to content

Commit

Permalink
Merge pull request Pycord-Development#1079 from unrealintegers/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorukyum authored Feb 26, 2022
2 parents 0b54eee + 1ceaeb3 commit e6355fd
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 @@ -162,7 +162,7 @@ def _from_data(self, data: InteractionPayload):
self.application_id: int = int(data["application_id"])
self.locale: Optional[str] = data.get("locale")
self.guild_locale: Optional[str] = data.get("guild_locale")
self.custom_id: Optional[str] = data.get("custom_id")
self.custom_id: Optional[str] = self.data.get("custom_id") if self.data is not None else None

self.message: Optional[Message]
try:
Expand Down

0 comments on commit e6355fd

Please sign in to comment.