twitch logging platform
Find a file
2020-09-05 11:33:17 +02:00
.github/workflows ci 2020-06-01 16:17:02 +02:00
api fix displaying ffz emotes 2020-09-05 11:33:17 +02:00
archiver double check if we actually try to open a dir 2019-08-18 11:08:27 +02:00
bot Multiple admins, typo fixes 2020-08-27 03:35:20 +02:00
config Multiple admins, typo fixes 2020-08-27 03:35:20 +02:00
filelog add list endpoint 2020-05-31 14:58:32 +02:00
helix update to new helix lib version 2020-08-28 22:56:35 +02:00
humanize add tests for humanize 2019-08-18 11:38:54 +02:00
web fix displaying ffz emotes 2020-09-05 11:33:17 +02:00
.gitignore fix displaying ffz emotes 2020-09-05 11:33:17 +02:00
config.json.dist Multiple admins, typo fixes 2020-08-27 03:35:20 +02:00
Dockerfile new cmd 2019-05-17 21:54:38 +02:00
go.mod update to new helix lib version 2020-08-28 22:56:35 +02:00
go.sum update to new helix lib version 2020-08-28 22:56:35 +02:00
LICENSE use json config and enable arguments 2018-11-29 22:20:57 +01:00
main.go fetch token and refresh it 2020-05-05 22:45:58 +02:00
Makefile update bundle 2020-04-11 19:29:35 +02:00
README.MD Multiple admins, typo fixes 2020-08-27 03:35:20 +02:00

justlog Build Status

What is this?

justlog is a bot I maintain for a couple of channels. Its features differ from other bots in that it doesn't support commands, etc. yet, it focuses on logging and providing an api for the logs.

Commands

  • !justlog status will respond with uptime
  • !justlog join gempir,pajlada will join the channels and append them to the config
  • !justlog messageType gempir 1,2 will set the recorded message types to 1 and 2 in channel gempir (will fetch the userid on its own)
  • !justlog messageType gempir reset will reset to default

Config

{
    "admins": ["gempir"], // will only respond to commands executed by these users
    "logsDirectory": "./logs", // the directory to log into
    "username": "gempbot", // bot username (can be justinfan123123 if you don't want to use an account)
    "oauth": "oauthtokenforchat", // bot token can be anything if justinfan123123
    "clientID": "mytwitchclientid", // your client ID, needed for fetching userids or usernames etc
    "logLevel": "debug", // the log level, keep this to info probably
    "channels": ["77829817", "11148817"], // the channels you want to log
    "channelConfigs": { // channel specific settings
        "77829817": { // only applies to this channel
            "messageTypes": [1] // will only log messages of type 1 (check go-twitch-irc MessageType https://github.com/gempir/go-twitch-irc/blob/master/message.go#L17), default is all 
        }
    }
}