mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
Self-hosted alternative to one of the big bots managed by big companies…
|
||
---|---|---|
.github | ||
docs | ||
wiki | ||
.gitignore | ||
.golangci.yml | ||
.repo-runner.yaml | ||
action_ban.go | ||
action_counter.go | ||
action_delete.go | ||
action_respond.go | ||
action_script.go | ||
action_timeout.go | ||
actions.go | ||
automessage.go | ||
badges.go | ||
config.go | ||
Dockerfile | ||
events.go | ||
functions.go | ||
functions_counter.go | ||
functions_irc.go | ||
functions_twitch.go | ||
go.mod | ||
go.sum | ||
History.md | ||
irc.go | ||
LICENSE | ||
main.go | ||
Makefile | ||
msgformatter.go | ||
README.md | ||
rule.go | ||
rule_test.go | ||
store.go | ||
timers.go | ||
twitch.go | ||
twitchAPICache.go | ||
wrNoOpCloser.go |
Luzifer / twitch-bot
Twitch-Bot is intended as an alternative to having a bot managed by Streamlabs or Streamelements and therefore having more control over it, the availability and how it works.
At the moment it is a work-in-progress and does not yet implment all features it shall in the future.
Configuration
Please see the Wiki for documentation of the configuration file.
# twitch-bot --help
Usage of twitch-bot:
--command-timeout duration Timeout for command execution (default 30s)
-c, --config string Location of configuration file (default "./config.yaml")
--log-level string Log level (debug, info, warn, error, fatal) (default "info")
--rate-limit duration How often to send a message (default: 20/30s=1500ms, if your bot is mod everywhere: 100/30s=300ms, different for known/verified bots) (default 1.5s)
--storage-file string Where to store the data (default "./storage.json.gz")
--twitch-client string Client ID to act as
--twitch-token string OAuth token valid for client
--version Prints current version and exits