Class SoundboardSoundCreateEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.soundboard.GenericSoundboardSoundEvent
net.dv8tion.jda.api.events.soundboard.SoundboardSoundCreateEvent
- All Implemented Interfaces:
GenericEvent
Indicates that a
SoundboardSound was created.
Requirements
This event require CacheFlag.SOUNDBOARD_SOUNDS to be enabled,
which requires GatewayIntent.GUILD_EXPRESSIONS.
createLight(String) disables that CacheFlag by default!
-
Constructor Summary
ConstructorsConstructorDescriptionSoundboardSoundCreateEvent(JDA api, long responseNumber, SoundboardSound soundboardSound) -
Method Summary
Methods inherited from class GenericSoundboardSoundEvent
getGuild, getSoundboardSoundMethods inherited from class Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
SoundboardSoundCreateEvent
public SoundboardSoundCreateEvent(@Nonnull JDA api, long responseNumber, @Nonnull SoundboardSound soundboardSound)
-