From 4a8f90f45867741599ddb0dcb431c09a110199c4 Mon Sep 17 00:00:00 2001 From: japandotorg Date: Wed, 20 Mar 2024 02:35:38 +0530 Subject: [PATCH] [AutoReact] fix reset command --- autoreact/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autoreact/commands.py b/autoreact/commands.py index 1e30aef..01c818f 100644 --- a/autoreact/commands.py +++ b/autoreact/commands.py @@ -248,6 +248,7 @@ async def _autoreact_reset(self, ctx: commands.GuildContext, trigger: str): return reaction: Dict[str, List[str]] = await self.config.guild(ctx.guild).reaction() del reaction[trigger] + await self.config.guild(ctx.guild).reaction.set(reaction) del self.cache.autoreact[ctx.guild.id][trigger] await ctx.send("Successfully cleared every auto reaction for that trigger.")