public final class TwitchSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CAPABILITY_COMMANDS
Capability to receive commands.
|
static String |
CAPABILITY_MEMBERSHIP
Capability to receive JOIN, MODE, NAMES, and PART.
|
static String |
CAPABILITY_TAGS
Capability to receive tags.
|
| Modifier and Type | Method and Description |
|---|---|
static Client |
addSupport(@NonNull Client client)
Adds support for Twitch to the client.
|
static Client |
addSupport(@NonNull Client client,
boolean alwaysModOrOp)
Adds support for Twitch to the client.
|
static boolean |
hasSupport(@NonNull Client client)
Checks if the given client has had Twitch support added.
|
public static final String CAPABILITY_COMMANDS
public static final String CAPABILITY_MEMBERSHIP
public static final String CAPABILITY_TAGS
public static Client addSupport(@NonNull Client client)
client - unconnected clientTwitchListener,
TwitchDelaySenderpublic static Client addSupport(@NonNull Client client, boolean alwaysModOrOp)
client - unconnected clientalwaysModOrOp - if the client will be a mod/op in EVERY channelTwitchListener,
TwitchDelaySenderpublic static boolean hasSupport(@NonNull Client client)
addSupport(Client, boolean).client - client to checkCopyright © 2013–2021 Kitteh. All rights reserved.