geforkt von SteamWar/BungeeCore
Fix Bot
Signed-off-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
9bf5146114
Commit
1cc289c11e
@ -93,7 +93,7 @@ public class EventManager {
|
|||||||
|
|
||||||
MessageBuilder messageBuilder = new MessageBuilder();
|
MessageBuilder messageBuilder = new MessageBuilder();
|
||||||
messageBuilder.setEmbeds(embedBuilder.build());
|
messageBuilder.setEmbeds(embedBuilder.build());
|
||||||
if(!events.isEmpty()) {
|
if(events.stream().anyMatch(event -> event.getDeadline().after(Timestamp.from(Instant.now())))) {
|
||||||
messageBuilder.setActionRows(ActionRow.of(menuBuilder.build()));
|
messageBuilder.setActionRows(ActionRow.of(menuBuilder.build()));
|
||||||
}
|
}
|
||||||
if (message == null) {
|
if (message == null) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren