Skip to content

Commit

Permalink
[AutoReact] fix reset command
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Mar 19, 2024
1 parent c7212ca commit 4a8f90f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoreact/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

Expand Down

0 comments on commit 4a8f90f

Please sign in to comment.