Adding basic bot functionality

This commit is contained in:
Patrick Müller 2021-04-19 17:55:14 +02:00
parent fc7bcf62ae
commit acb067f59e
4 changed files with 1326 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.idea/
node_modules/
*.iml
.env

5
bot.js
View File

@ -1,10 +1,11 @@
require('dotenv').config();
const tmi = require('tmi.js');
// Define configuration options
const opts = {
identity: {
username: "",
password: ""
username: "HighlightMarkerBot",
password: process.env.IRC_OAUTH
},
channels: [
"yiggalow"

1320
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,8 @@
"author": "Patrick Müller, David Huh",
"license": "ISC",
"dependencies": {
"tmi.js": "^1.8.2"
"dotenv": "^8.2.0",
"tmi.js": "^1.8.2",
"twitch-js": "*"
}
}