Skip to content

Commit

Permalink
Fix issue where view didn't clear
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterJ93 committed Nov 19, 2023
1 parent 4626927 commit 7a73ab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cogs/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ async def warn_member(self,
# Edit the message to refresh and state that the message was send.
view.clear_items()
await interaction.edit_original_response(
content=admin['WARN_SENT']
content=admin['WARN_SENT'],
view=view
)
else:
view.clear_items()
Expand Down

0 comments on commit 7a73ab1

Please sign in to comment.