From 77963b13ef15cccc8496126ccea61e7b9f9d9466 Mon Sep 17 00:00:00 2001 From: nanika2 <101696371+nanika2@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:32:52 +1100 Subject: [PATCH] don't unlock threads in timeout response --- cogs/dpy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/dpy.py b/cogs/dpy.py index 56181d6d..a3ab77ef 100644 --- a/cogs/dpy.py +++ b/cogs/dpy.py @@ -540,7 +540,8 @@ async def solved(self, ctx: GuildContext): ) await self.mark_as_solved(ctx.channel, ctx.channel.owner or ctx.author) elif confirm is None: - await ctx.send('Timed out waiting for a response. Not marking as solved.') + if not ctx.channel.locked: + await ctx.send('Timed out waiting for a response. Not marking as solved.') else: await ctx.send('Not marking as solved.')