oberknechtClient
new oberknechtClient(
clientOptions
)
method | type | returns | arguments |
---|---|---|---|
symbol | getter | Symbol | |
_options | class | ||
prefix | string | clientOptions.prefix | |
isConnected | Boolean | Boolean | |
OberknechtEmitter | class | ||
OberknechtActionEmitter | ↑ | ||
connect | function | void | |
privmsg | promise | ||
action | promise | ||
send | ↑ | ↑ | channel, message |
say | ↑ | ↑ | ↑ |
joinAll | ↑ | channels | |
join | ↑ | channel | |
part | ↑ | channel | |
ping | ↑ | - | |
whisper | apiEndpoints.twitch.whisper | targetUser, message | |
on | function | eventName, callback | |
addListener | ↑ | ↑ | ↑ |
off | ↑ | knechtEmitter.removeListener | ↑ |
remove | ↑ | ↑ | ↑ |
removeListener | ↑ | ↑ | ↑ |
emit | ↑ | knechtEmitter.emit | eventName, args |
getuser | apiEndpoints.twitch.users | usernameorid | |
getusername | promise | userid | |
getuserid | ↑ | ↑ | username |
onPRIVMSG | function | void | |
onGLOBALUSERSTATE | ↑ | ↑ | |
onCLEARCHAT | ↑ | ↑ | |
onNOTICE | ↑ | ↑ | |
onUSERNOTICE | ↑ | ↑ | |
onUSERSTATE | ↑ | ↑ | |
onWHISPER | ↑ | ↑ | |
onError | ↑ | ↑ | |
onReady | ↑ | ↑ | callback |
onClose | ↑ | ↑ | callback |
Last updated