twitch logging platform
api | ||
archiver | ||
bot | ||
filelog | ||
helix | ||
humanize | ||
web | ||
.gitignore | ||
.travis.yml | ||
config.json.dist | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.MD |
justlog
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.
Config
{
"admin": "gempir", // will only respond to this user with !status
"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
}
}
}