JDA-Applications / JDA-Utilities

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

Wrong Boolean Logic #114

Closed Sanduhr32 closed 1 day 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.

Sanduhr32 commented 1 day ago

seems this wont ever happen.