[SIS-xxx] adapting dashboard to show better command information

This commit is contained in:
Sheldan
2022-07-25 19:14:07 +02:00
parent af8bf920c0
commit a2818241f6
2 changed files with 4 additions and 1 deletions

View File

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