Package tv.phantombot.event.twitch
Class TwitchOAuthReauthorizedEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.twitch.TwitchEvent
tv.phantombot.event.twitch.TwitchOAuthReauthorizedEvent
One of the Twitch OAuth tokens has been re-authorized from the
/oauth
page on the bots webserver-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAPI()
Iftrue
, the API OAuth was re-authorized; otherwise, it was the Chat OAuth
-
Constructor Details
-
TwitchOAuthReauthorizedEvent
public TwitchOAuthReauthorizedEvent(boolean isAPI)
-
-
Method Details
-
isAPI
public boolean isAPI()Iftrue
, the API OAuth was re-authorized; otherwise, it was the Chat OAuth- Returns:
-