chatters

command module
v0.0.0-...-ac9ea7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2020 License: MIT Imports: 12 Imported by: 0

README

ARCHIVED

This code has once again moved back into the pajbot project, so this microservice is no longer needed nor in development.

chatters

Microservice for pajbot to update chatters.

  • Award your users with points for watching the stream and/or being in offline chat
  • Update when users were last seen
  • Update how many minutes your users spent in online/offline chat

Install

Clone and build (You can install go with sudo apt install golang-go if you are missing it):

git clone https://github.com/pajbot/chatters.git
cd chatters
go build

Copy config.json.example to config.json and edit the relevant fields:

cp config.example.json
editor config.json

Move service files to /opt:

sudo cp -r . /opt/pajbot-chatters
sudo chown -R pajbot:pajbot /opt/pajbot-chatters

And activate the timer to run the service every 10 minutes.

sudo cp pajbot-chatters.service pajbot-chatters.timer /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable --now pajbot-chatters.timer

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL