Skip to content

Commit

Permalink
correct snippet_edit audit event action string
Browse files Browse the repository at this point in the history
  • Loading branch information
khakers authored Jul 12, 2023
1 parent 59bff0a commit 98a3dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/modmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ async def snippet_edit(self, ctx, name: str.lower, *, value):
color=self.bot.main_color,
description=f'`{name}` will now send "{value}".',
)
self.bot.audit_logger.push(await construct_from_ctx(ctx, action="modmail.block", description=f"edited snippet {name}"))
self.bot.audit_logger.push(await construct_from_ctx(ctx, action="modmail.snippet.edit", description=f"edited snippet {name}"))
else:
embed = create_not_found_embed(name, self.bot.snippets.keys(), "Snippet")
await ctx.send(embed=embed)
Expand Down

0 comments on commit 98a3dd4

Please sign in to comment.