geforkt von SteamWar/BungeeCore
Merge pull request 'Fix Bot' (#258) from fix-bot into master
Reviewed-on: SteamWar/BungeeCore#258 Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
e66dd48b89
@ -93,7 +93,7 @@ public class EventManager {
|
||||
|
||||
MessageBuilder messageBuilder = new MessageBuilder();
|
||||
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()));
|
||||
}
|
||||
if (message == null) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren