Remove and test
This commit is contained in:
parent
6ef6882335
commit
0839dbba73
1 changed files with 0 additions and 4 deletions
|
@ -27,10 +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("Attachment in dev: " + event.getMessage().getAttachments().stream().map(
|
|
||||||
a -> a.getFilename() + " - " + a.getFilesize() + " - " + a.getId() + " - " + a.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