mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-05 00:53:43 +00:00
[SIS-xxx] adapting dashboard to show better command information
This commit is contained in:
@@ -26,6 +26,9 @@ public class ReactionReportReactionListener implements ReportMessageCreatedListe
|
||||
|
||||
@Override
|
||||
public DefaultListenerResult execute(ReportMessageCreatedModel model) {
|
||||
if(model.getReportMessage() == null) {
|
||||
return DefaultListenerResult.IGNORED;
|
||||
}
|
||||
Long reactionAmount = configService.getLongValueOrConfigDefault(REACTION_REPORT_REACTION_AMOUNT_CONFIG_KEY, model.getServerId());
|
||||
for (int i = 0; i < reactionAmount; i++) {
|
||||
String emoteKey = buildReactionEmoteName(i + 1);
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
{
|
||||
"expr": "increase(command_processed_total[1m])",
|
||||
"interval": "",
|
||||
"legendFormat": "{{status}}",
|
||||
"legendFormat": "{{type}}-{{status}}",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user