A Simple to use Framework for creating Twitch bots. Provides a range of tools to help developers quickly and easily build objective code bot's in Node.js
- Plugin Storage
- Twitch handler methods
- Web server static hosting and dynamic programing interface.
this system is built in Node.js to use it make sure you have the latest node installed. then clone or download this repository. and open a terminal or command prompt windown cd
to the directory of the files for this code base and to run use the command node index.js
.
Things you will need
- a Twitch channel to use the bot on
- a Twitch Bot account for the bot
- open config.json for editing
- endit the "Twitch" section of the config to and setup like so
username
- this is the username of your botoauth
- this is your oauth token from https://twitchapps.com/tmi/ make sure to use your bot account.channelName
- this is the name of the channel you would like the bot to operate on normally your usernamecommandChar
is the character that plugins register commands again including the twitch helper that be default setups up the command help so with it set to!
in twitch chat you would send!help
helpCommand
- this is the command used to show the help as example above,connectionTimeout
- this is the time to wait for the bot to connect to twich after this it will show an error
...
"Twitch":{
"username":"botuserUsername",
"oauth":"oauth:******",
"channelName":"channelName",
"commandChar":"!",
"helpCommand":"help",
"connectionTimeout":"10"
},
...
you can find an example plugin at https://github.com/barkermn01/TwitchBotManager_ExampleBot
GPLv2 or later