changed how discord sends msgs
This commit is contained in:
parent
d7ed45922e
commit
d6d15e87e0
@ -69,7 +69,8 @@ public class DoStuff {
|
||||
false);
|
||||
if (!ResponseStr.isEmpty()) {
|
||||
System.out.print("\nResponseStr3: " + ResponseStr + "\n");
|
||||
event.getMessage().getChannel().block().createMessage(ResponseStr).block();
|
||||
//event.getMessage().getChannel().block().createMessage(ResponseStr).block();
|
||||
event.getMessage().getChannel().flatMap(chan -> chan.createMessage(ResponseStr)).subscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user