From 181aa5732b28181800cb663d52be42fd70c3226c Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Sat, 20 Feb 2021 01:36:09 +0100 Subject: Add deletedoccache alias to the clear cache command --- bot/exts/info/doc/_cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py index eb3de9d46..1e498237a 100644 --- a/bot/exts/info/doc/_cog.py +++ b/bot/exts/info/doc/_cog.py @@ -402,7 +402,7 @@ class DocCog(commands.Cog): ) await ctx.send(embed=embed) - @docs_group.command(name="cleardoccache") + @docs_group.command(name="cleardoccache", aliases=("deletedoccache",)) @commands.has_any_role(*MODERATION_ROLES) async def clear_cache_command(self, ctx: commands.Context, package_name: PackageName) -> None: """Clear the persistent redis cache for `package`.""" -- cgit v1.2.3