mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -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
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user