✨ Adding basic bot functionality
This commit is contained in:
parent
fc7bcf62ae
commit
acb067f59e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
.idea/
|
.idea/
|
||||||
node_modules/
|
node_modules/
|
||||||
*.iml
|
*.iml
|
||||||
|
.env
|
||||||
|
|
5
bot.js
5
bot.js
|
@ -1,10 +1,11 @@
|
||||||
|
require('dotenv').config();
|
||||||
const tmi = require('tmi.js');
|
const tmi = require('tmi.js');
|
||||||
|
|
||||||
// Define configuration options
|
// Define configuration options
|
||||||
const opts = {
|
const opts = {
|
||||||
identity: {
|
identity: {
|
||||||
username: "",
|
username: "HighlightMarkerBot",
|
||||||
password: ""
|
password: process.env.IRC_OAUTH
|
||||||
},
|
},
|
||||||
channels: [
|
channels: [
|
||||||
"yiggalow"
|
"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",
|
"author": "Patrick Müller, David Huh",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"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