mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
Add respectable aliases for consistency (#2731)
* Add respectable aliases for consistency * General command name for alias.py * Forgot one for alias * General command for filter * General command for warnings * Whoops Resolves #1749
This commit is contained in:
committed by
Michael H
parent
cd745d35c2
commit
2e271d695b
@@ -246,7 +246,7 @@ class Downloader(commands.Cog):
|
||||
if repo.install_msg is not None:
|
||||
await ctx.send(repo.install_msg.replace("[p]", ctx.prefix))
|
||||
|
||||
@repo.command(name="delete", aliases=["remove"], usage="<repo_name>")
|
||||
@repo.command(name="delete", aliases=["remove", "del"], usage="<repo_name>")
|
||||
async def _repo_del(self, ctx, repo: Repo):
|
||||
"""Remove a repo and its files."""
|
||||
await self._repo_manager.delete_repo(repo.name)
|
||||
|
||||
Reference in New Issue
Block a user