Interface IStreamAction
- All Superinterfaces:
IAction
- All Known Implementing Classes:
PlayBlerpStreamAction
,PlayTTSStreamAction
,PlayUrlStreamAction
,SayStreamAction
,VoiceJoinStreamAction
,VoiceLeaveStreamAction
Interface used to create a Stream Action.
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
runAction
(@NotNull ActionEvent event) Run the specific action.boolean
runAction
(@NotNull StreamActionEvent event) Run the specific action.default boolean
runAction
(@NotNull net.dv8tion.jda.api.entities.Guild guild, com.github.twitch4j.common.events.TwitchEvent twitchEvent, String[] arguments) Run the specific action.
-
Method Details
-
runAction
Run the specific action.- Parameters:
event
- The action information.- Returns:
- True if the action was executed successfully.
-
runAction
Run the specific action. -
runAction
default boolean runAction(@NotNull @NotNull net.dv8tion.jda.api.entities.Guild guild, com.github.twitch4j.common.events.TwitchEvent twitchEvent, String[] arguments) Run the specific action.- Parameters:
guild
- The guild.twitchEvent
- The TwitchEvent.arguments
- The arguments.- Returns:
- True if the action was executed successfully.
-