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:
Keir 2015-11-20 22:38:00 +00:00
parent 435f2b643d
commit 07b6c7cde7
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}
}