oberknechtClient

new oberknechtClient(clientOptions)

methodtypereturnsarguments

symbol

getter

Symbol

_options

class

prefix

string

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

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