Testing again

This commit is contained in:
Norbi Peti 2016-11-14 19:40:29 +01:00
parent c22fdeac49
commit 1871dfbb2f

View file

@ -27,11 +27,6 @@ public class CommandListener {
}, new IListener<MessageReceivedEvent>() {
@Override
public void handle(MessageReceivedEvent event) {
if (event.getMessage().getChannel().getID().equals("219626707458457603"))
Bukkit.getLogger().info("Embedded in dev: " + event.getMessage().getEmbedded().stream()
.map(a -> a.getDescription() + " - " + a.getThumbnail() + " - " + a.getTitle() + " - "
+ a.getType() + " - " + a.getUrl())
.collect(Collectors.joining(", ")));
if (!event.getMessage().getChannel().isPrivate())
return;
if (event.getMessage().getAuthor().isBot())