✨ Adding basic bot functionality
This commit is contained in:
parent
fc7bcf62ae
commit
acb067f59e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
.idea/
|
||||
node_modules/
|
||||
*.iml
|
||||
.env
|
||||
|
|
5
bot.js
5
bot.js
|
@ -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
1320
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -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": "*"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user