I am struggling to find a way to check if an user has a role. I know how to find a certain role:
public Role findRole(Guild guild, String name) { List
Since there's no such feature in the doc yet, you can do this:
boolean hasRole; for(int i=0; i
Then, for true if (hasRole) or false if (!hasRole)
if (hasRole)
if (!hasRole)