public class ValidationUtil extends Object
Constructor and Description |
---|
ValidationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
validateRequestGuildMembers(discord4j.discordjson.json.gateway.RequestGuildMembers request,
discord4j.discordjson.possible.Possible<IntentSet> possibleIntents)
Throws if the request is invalid given the current intents.
|
public static void validateRequestGuildMembers(discord4j.discordjson.json.gateway.RequestGuildMembers request, discord4j.discordjson.possible.Possible<IntentSet> possibleIntents)
request
- The request to validatepossibleIntents
- The current intents