- Clone the repository
- Install modules with
yarn install
ornpm install
- Create a file named .env
- Get your oauth here
- Configure
.env
file
BOT_USERNAME=yourBotName
OAUTH_TOKEN=yourOauth
CHANNEL_NAME=yourChannelName
- Configure
config.json
file
{
"commands": {
"twitter": ["twitter.com", "Twitter link" ],
"instagram": ["instagram.com", "Instagram link"],
"git": ["github.com/joaopedroaats", "Git link" ,{
"bot": "github.com/joaopedroaats/pedebot-twitch",
"dotfiles": "github.com/joaopedroaats/dotfiles",
"dots": "github.com/joaopedroaats/dotfiles"
}]
},
"specialKey": "!"
}
// user: !twitter
// bot: twitter.com
- tmi.js v1.4.2
- dev.twitch