JDA-Applications / JDA-Utilities

A series of tools and utilities for JDA to assist in bot creation
Apache License 2.0
217 stars 110 forks source link

Wrong Boolean Logic #114

Open Sanduhr32 opened 4 years ago

Sanduhr32 commented 4 years ago

https://github.com/JDA-Applications/JDA-Utilities/blob/271be3bd42c3fe8e1b289dfd1f308209eb857a3a/oauth2/src/main/java/com/jagrosh/jdautilities/oauth2/entities/impl/OAuth2UserImpl.java#L86

this code definetly should not throw an exception if the required scope is contained in the provided scopes.