From 984ff0fcfa9576c3d0a8d13394968aa13ab36149 Mon Sep 17 00:00:00 2001 From: Ty Lovejoy <48333668+tylovejoy@users.noreply.github.com> Date: Wed, 17 Apr 2024 17:28:56 -0500 Subject: [PATCH] fix(mod-commands): fix error in change difficulty command --- cogs/mod.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cogs/mod.py b/cogs/mod.py index 496e423..340038b 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -651,13 +651,6 @@ async def difficulty( .get_partial_message(playtest.thread_id) .fetch() ) - content, _ = await self._regex_replace_votes(msg, view) - await msg.edit(content=content) - msg = ( - await itx.guild.get_thread(playtest.thread_id) - .get_partial_message(playtest.message_id) - .fetch() - ) content, total_votes = await self._regex_replace_votes(msg, view) await msg.edit(content=content) await view.mod_check_status(int(total_votes), msg)