Skip to content

Commit

Permalink
fix(mod-commands): fix error in change difficulty command
Browse files Browse the repository at this point in the history
  • Loading branch information
tylovejoy committed Apr 17, 2024
1 parent 68ee484 commit 984ff0f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cogs/mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 984ff0f

Please sign in to comment.