Remove to test
This commit is contained in:
parent
ec43d39257
commit
eaf74d9d83
1 changed files with 0 additions and 6 deletions
|
@ -27,12 +27,6 @@ public class CommandListener {
|
||||||
}, new IListener<MessageReceivedEvent>() {
|
}, new IListener<MessageReceivedEvent>() {
|
||||||
@Override
|
@Override
|
||||||
public void handle(MessageReceivedEvent event) {
|
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() + " - " + a.getEmbedProvider().getName() + " - "
|
|
||||||
+ a.getEmbedProvider().getUrl())
|
|
||||||
.collect(Collectors.joining(", ")));
|
|
||||||
if (!event.getMessage().getChannel().isPrivate())
|
if (!event.getMessage().getChannel().isPrivate())
|
||||||
return;
|
return;
|
||||||
if (event.getMessage().getAuthor().isBot())
|
if (event.getMessage().getAuthor().isBot())
|
||||||
|
|
Loading…
Reference in a new issue