Interface IStreamAction

All Superinterfaces:
IAction
All Known Implementing Classes:
PlayBlerpStreamAction, PlayTTSStreamAction, PlayUrlStreamAction, SayStreamAction, VoiceJoinStreamAction, VoiceLeaveStreamAction

public interface IStreamAction extends IAction
Interface used to create a Stream Action.
  • Method Summary

    Modifier and Type
    Method
    Description
    default 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

      boolean runAction(@NotNull @NotNull StreamActionEvent event)
      Run the specific action.
      Parameters:
      event - The action information.
      Returns:
      True if the action was executed successfully.
    • runAction

      default boolean runAction(@NotNull @NotNull ActionEvent event)
      Run the specific action.
      Specified by:
      runAction in interface IAction
      Parameters:
      event - The action information.
      Returns:
      True if the action was executed successfully.
    • 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.