Open Sanduhr32 opened 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.
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.