Display message informing a report handler on how to close a report, when clicked this message will also fill out as much of the command as it can on the clients side.
This commit is contained in:
parent
435f2b643d
commit
07b6c7cde7
|
@ -208,6 +208,11 @@ public class ReportManager {
|
|||
}
|
||||
else
|
||||
{
|
||||
message = message.extra("\n" + F.main(prefix, String.format(
|
||||
"Type /reportclose %d <reason> to close this report.",
|
||||
reportId)))
|
||||
.click(ClickEvent.SUGGEST_COMMAND, "/reportclose " + reportId);
|
||||
|
||||
sendHandlerNotification(report, message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue