[Reports] Improve usage in the report command's decorator (#4881)

* [Reports] Improve usage in the report decorator

* fix sig
This commit is contained in:
Kreusada 2021-03-15 04:01:36 +00:00 committed by GitHub
parent fef56427ae
commit 1b3958515b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,12 +236,12 @@ class Reports(commands.Cog):
) )
return ticket_number return ticket_number
@commands.group(name="report", invoke_without_command=True) @commands.group(name="report", usage="[text]", invoke_without_command=True)
async def report(self, ctx: commands.Context, *, _report: str = ""): async def report(self, ctx: commands.Context, *, _report: str = ""):
"""Send a report. """Send a report.
Use without arguments for interactive reporting, or do Use without arguments for interactive reporting, or do
`[p]report <text>` to use it non-interactively. `[p]report [text]` to use it non-interactively.
""" """
author = ctx.author author = ctx.author
guild = ctx.guild guild = ctx.guild