mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
[Reports] Improve usage in the report command's decorator (#4881)
* [Reports] Improve usage in the report decorator * fix sig
This commit is contained in:
parent
fef56427ae
commit
1b3958515b
@ -236,12 +236,12 @@ class Reports(commands.Cog):
|
||||
)
|
||||
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 = ""):
|
||||
"""Send a report.
|
||||
|
||||
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
|
||||
guild = ctx.guild
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user