Skip to content

Commit

Permalink
fix: properly pass in ephemeral for hybrid ctx (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstreaTSS authored Jul 5, 2023
1 parent 0301e4e commit de24263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactions/ext/hybrid_commands/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ async def send(
New message object that was sent.
"""
flags = MessageFlags(flags or 0)
if ephemeral and not self._slash_ctx:
if ephemeral and self._slash_ctx:
flags |= MessageFlags.EPHEMERAL
self.ephemeral = True
if suppress_embeds:
Expand Down

0 comments on commit de24263

Please sign in to comment.