public enum Intent extends Enum<Intent>
Enum Constant and Description |
---|
DIRECT_MESSAGE_REACTIONS
Events which will be received by subscribing to DIRECT_MESSAGE_REACTIONS
- MESSAGE_REACTION_ADD
- MESSAGE_REACTION_REMOVE
- MESSAGE_REACTION_REMOVE_ALL
- MESSAGE_REACTION_REMOVE_EMOJI
|
DIRECT_MESSAGE_TYPING
Events which will be received by subscribing to DIRECT_MESSAGE_TYPING
- TYPING_START
|
DIRECT_MESSAGES
Events which will be received by subscribing to DIRECT_MESSAGES
- CHANNEL_CREATE
- MESSAGE_CREATE
- MESSAGE_UPDATE
- MESSAGE_DELETE
|
GUILD_BANS
Events which will be received by subscribing to GUILD_BANS
- GUILD_BAN_ADD
- GUILD_BAN_REMOVE
|
GUILD_EMOJIS
Events which will be received by subscribing to GUILD_EMOJIS
- GUILD_EMOJIS_UPDATE
|
GUILD_INTEGRATIONS
Events which will be received by subscribing to GUILD_INTEGRATIONS
- GUILD_INTEGRATIONS_UPDATE
|
GUILD_INVITES
Events which will be received by subscribing to GUILD_INVITES
- INVITE_CREATE
- INVITE_DELETE
|
GUILD_MEMBERS
Events which will be received by subscribing to GUILD_MEMBERS
- GUILD_MEMBER_ADD
- GUILD_MEMBER_UPDATE
- GUILD_MEMBER_REMOVE
|
GUILD_MESSAGE_REACTIONS
Events which will be received by subscribing to GUILD_MESSAGE_REACTIONS
- MESSAGE_REACTION_ADD
- MESSAGE_REACTION_REMOVE
- MESSAGE_REACTION_REMOVE_ALL
- MESSAGE_REACTION_REMOVE_EMOJI
|
GUILD_MESSAGE_TYPING
Events which will be received by subscribing to GUILD_MESSAGE_TYPING
- TYPING_START
|
GUILD_MESSAGES
Events which will be received by subscribing to GUILD_MESSAGES
- MESSAGE_CREATE
- MESSAGE_UPDATE
- MESSAGE_DELETE
- MESSAGE_DELETE_BULK
|
GUILD_PRESENCES
Events which will be received by subscribing to GUILD_PRESENCES
- PRESENCE_UPDATE
|
GUILD_VOICE_STATES
Events which will be received by subscribing to GUILD_VOICE_STATES
- VOICE_STATE_UPDATE
|
GUILD_WEBHOOKS
Events which will be received by subscribing to GUILD_WEBHOOKS
- WEBHOOKS_UPDATE
|
GUILDS
Events which will be received by subscribing to GUILDS
- GUILD_CREATE
- GUILD_UPDATE
- GUILD_DELETE
- GUILD_ROLE_CREATE
- GUILD_ROLE_UPDATE
- GUILD_ROLE_DELETE
- CHANNEL_CREATE
- CHANNEL_UPDATE
- CHANNEL_DELETE
- CHANNEL_PINS_UPDATE
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Intent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Intent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Intent GUILDS
public static final Intent GUILD_MEMBERS
public static final Intent GUILD_BANS
public static final Intent GUILD_EMOJIS
public static final Intent GUILD_INTEGRATIONS
public static final Intent GUILD_WEBHOOKS
public static final Intent GUILD_INVITES
public static final Intent GUILD_VOICE_STATES
public static final Intent GUILD_PRESENCES
public static final Intent GUILD_MESSAGES
public static final Intent GUILD_MESSAGE_REACTIONS
public static final Intent GUILD_MESSAGE_TYPING
public static final Intent DIRECT_MESSAGES
public static final Intent DIRECT_MESSAGE_REACTIONS
public static final Intent DIRECT_MESSAGE_TYPING
public static Intent[] values()
for (Intent c : Intent.values()) System.out.println(c);
public static Intent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()