1.0.1 • Published 2 years ago

js-twichat v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

twichat

Manage all the events that occur in your twitch direct

It is currently under development. Next release scheduled for October 17, 2022

How to use this module?

// Code example:

const twichat = core.init({
	client_id,
	client_secret
})

twichat.on('ready', async () => {

	console.log('The js-twichat module already allows you to send events')

	const user = await twichat.getInfoUser('jscode_')

	console.log(user)
})

Events list

EventDefinition
readyThe js-twichat module already allows you to send events
messageListen to all chat messages
errorJs-twichat errors
warningJs-twichat warnings

Method list

MethodDefinition
getInfoUserGet data from a user
getChannelByIdGet channel data by ID