aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-02-20 01:36:09 +0100
committerGravatar Numerlor <[email protected]>2021-02-23 03:33:28 +0100
commit181aa5732b28181800cb663d52be42fd70c3226c (patch)
tree1fe27c282fe7f91049ca26c248683e32b3052699
parentcleanup->clean_up (diff)
Add deletedoccache alias to the clear cache command
-rw-r--r--bot/exts/info/doc/_cog.py2
1 files changed, 1 insertions, 1 deletions
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`."""