cataiana / twitch-modlogging Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Had this happen a few times, works perfectly fine again when I restart the systemd service the bot is running in:
2022-02-15 07:16:28PM WARNING [main messagehandler 181]: Reconnecting...
2022-02-15 07:16:33PM WARNING [main message_reciever 145]: Connection with server closed
2022-02-15 07:17:03PM WARNING [main heartbeat 157]: Connection with server closed
After which it keeps running and doesn't succeed, so the systemd service doesn't restart automatically, but the bot doesn't attempt to reconnect either
I would be cool if the bot could send a POST or GET request to an Uptime Robot endpoint every X minutes (endpoint and frequency would be configured in the settings file) so if it dies (usually due to expired Twitch oauth) I can be notified.
More info: https://blog.uptimerobot.com/new-feature-heartbeat-monitoring/
It would be nice if I could specify users to ignore in the settings file. I have some channels with significant bot modding activity and I only care about logging human actions, so I would specify the users (like ohbot, moobot, etc.) to ignore.
I'm thinking the ignored users would be global for the whole bot rather than specified per channel, but either way works I guess.
I would just spin up a second instance of the bot so I'd have one that logs everything and one that doesn't log specified users.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.