Trying
This commit is contained in:
parent
a53c5103f4
commit
05ab8fa970
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ public class MCChatListener implements Listener, IListener<MessageReceivedEvent>
|
||||||
dmessage + (event.getMessage().getAttachments().size() > 0 ? "\n" + event.getMessage()
|
dmessage + (event.getMessage().getAttachments().size() > 0 ? "\n" + event.getMessage()
|
||||||
.getAttachments().stream().map(a -> a.getUrl()).collect(Collectors.joining("\n"))
|
.getAttachments().stream().map(a -> a.getUrl()).collect(Collectors.joining("\n"))
|
||||||
: ""));
|
: ""));
|
||||||
event.getMessage().addReaction("white_check_mark");
|
event.getMessage().addReaction(":white_check_mark:");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
TBMCCoreAPI.SendException("An error occured while handling " + dmessage + "!", e);
|
TBMCCoreAPI.SendException("An error occured while handling " + dmessage + "!", e);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue