Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
/ chatters Public archive

Microservice for pajbot to update chatters

License

Notifications You must be signed in to change notification settings

pajbot/chatters

Repository files navigation

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

About

Microservice for pajbot to update chatters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages