Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support responding with deferred_channel_message to component interactions. #309

Merged
merged 6 commits into from
Nov 11, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update interactions.py
Accidentally removed typehinting
  • Loading branch information
plun1331 authored Oct 24, 2021
commit e3932126d3e7d2907343a9721761f6cd10a87f71
2 changes: 1 addition & 1 deletion discord/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ async def defer(self, *, ephemeral: bool = False) -> None:
raise discord.InteractionResponded(self._parent)
plun1331 marked this conversation as resolved.
Show resolved Hide resolved

defer_type: int = 0
data = None
data: Optional[Dict[str, Any]] = None
parent = self._parent
if parent.type is discord.InteractionType.component:
if ephemeral:
Expand Down