Functions - JohnnyMorganz/luvit-twitch GitHub Wiki
Standard Functions
connect()
Connects the bot to Twitch
Returns:
nil
disconnect(reason)
Disconnects the bot from Twitch with provided reason
Returns:
nil
Get Functions
getUsername()
Returns the username of the current bot
Returns:
string
getOptions()
Returns the options table that was provided on startup
Returns:
table
getChannels()
Returns the channels that the client is currently connected to
Returns:
table
isMod(username, channel)
Checks if username is a moderator in channel
Returns:
boolean
Commands
TODO