Should fix parsing error being emitted

This commit is contained in:
NovaFox161
2020-05-05 18:12:23 -05:00
parent d9c87260ce
commit 07353a91b5
@@ -48,7 +48,8 @@ public class UserUtils {
}
private static Mono<Member> getUserFromID(String id, Guild guild) {
return guild.getMemberById(Snowflake.of(Long.parseUnsignedLong(id)));
return guild.getMemberById(Snowflake.of(Long.parseUnsignedLong(id)))
.onErrorResume(e -> Mono.empty());
}
public static Mono<List<Member>> getUsers(ArrayList<String> userIds, Guild guild) {