misc(seautils): added more aliases to showcode
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 43s

This commit is contained in:
Seaswimmer 2024-05-13 20:22:13 -04:00
parent 516c0feecc
commit 59848fe857
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -31,7 +31,7 @@ class SeaUtils(commands.Cog):
]
return "\n".join(text)
@commands.command(aliases=["source"])
@commands.command(aliases=["source", "src", "code", "showsource"])
@commands.is_owner()
async def showcode(self, ctx: commands.Context, *, command: str):
"""Show the code for a particular command."""