Skip to content

Bot to synchronize messages from the twitch chat with the database. 📑

License

Notifications You must be signed in to change notification settings

ttvLogs/logs-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ttvLogs/logs-next

This bot is used to synchronize messages from the twitch chat with the database for further use on the site.

Getting started

  • install dependencies
  • start bot
yarn
yarn start

or

pm2 start bot.js --cron "0 5 */7 * *" && pm2 monit

Configuration

  • create your .env file in root
#twitch bot
NICKNAME = "twith bot nickname"
TOKEN = "oauth:token"

#database
SERVERNAME = "server ip"
USERNAME = "user"
PASSWORD = "password"
DATABASE = "database name"

#bot options
PREFIX = "`"
ADMIN = "your nickname on twitch"
MAIN = "logs"
DEFAULTCHANNEL="default channel to connect"

#twitch api
BEARER = "Bearer token"
CLIENTID = "client id of your bot"

About

Bot to synchronize messages from the twitch chat with the database. 📑

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published