From 5791b5fcaa30a76b3e36c2860203e64ceaf1eb2a Mon Sep 17 00:00:00 2001 From: FrozenChen Date: Tue, 18 Jun 2024 17:21:22 -0300 Subject: [PATCH] views.py: Fix voteview --- utils/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/views.py b/utils/views.py index 90b8f94a..c3a558fa 100644 --- a/utils/views.py +++ b/utils/views.py @@ -182,7 +182,7 @@ async def callback(self, interaction: Interaction): await interaction.followup.send( f"Vote started {format_dt(self.view.start, style='R')} has finished.\n{results}") self.view.stop() - await interaction.client.extras.delete_vote_view(self.view.custom_id) + await interaction.client.extras.delete_voteview(self.view.custom_id) else: await interaction.response.send_message("Only the vote creator can end it", ephemeral=True)