Self-hosted alternative to one of the big bots managed by big companies…
Find a file
2021-06-17 18:37:50 +02:00
.github Add funding config 2021-04-21 19:54:03 +02:00
docs Allow to customize token 2021-04-04 20:26:32 +02:00
wiki Add concat template function 2021-06-17 16:54:50 +02:00
.gitignore Add HCL config format support 2021-05-24 17:36:16 +02:00
.golangci.yml Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
.repo-runner.yaml Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
action_ban.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
action_counter.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
action_delay.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
action_delete.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
action_raw.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
action_respond.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
action_script.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
action_timeout.go Apply time-fix, json is not able to decode 2s but 2 which is ns 2021-06-17 18:08:52 +02:00
action_whisper.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
actions.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
automessage.go Fix: Move disable check to other disable checks 2021-06-14 23:55:23 +02:00
badges.go Initial version 2020-12-21 01:33:57 +01:00
config.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
configwatch.go Fix: Do not spam events when file is gone for longer 2021-05-24 18:00:50 +02:00
Dockerfile Include tzdata into Docker image to allow TZ env setting 2021-05-06 15:14:58 +02:00
events.go Add whisper event 2021-05-26 14:38:37 +02:00
functions.go Add concat template function 2021-06-17 16:54:50 +02:00
functions_counter.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
functions_irc.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
functions_twitch.go Fix: Display fallback when no category is set 2021-05-24 21:53:17 +02:00
go.mod Fix ID generation handling different automessages as same 2021-06-13 15:45:19 +02:00
go.sum Fix ID generation handling different automessages as same 2021-06-13 15:45:19 +02:00
helpers.go Apply time-fix, json is not able to decode 2s but 2 which is ns 2021-06-17 18:08:52 +02:00
History.md prepare release v0.14.0 2021-06-17 18:37:50 +02:00
irc.go Automatically leave channel when removed from config 2021-06-14 23:43:37 +02:00
LICENSE Add META 2020-12-21 01:55:48 +01:00
main.go Automatically leave channel when removed from config 2021-06-14 23:43:37 +02:00
Makefile Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
msgformatter.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
README.md Update README for new flags 2021-04-22 00:39:18 +02:00
rule.go Fix ID generation handling different automessages as same 2021-06-13 15:45:19 +02:00
rule_test.go Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
store.go Initial version 2020-12-21 01:33:57 +01:00
timers.go Add user- and channel-based cooldowns (#4) 2021-06-07 22:20:19 +02:00
twitch.go Add retries to Twitch API calls 2021-06-02 13:21:13 +02:00
twitchAPICache.go Fix: Concurrent access to map panic 2021-04-01 12:28:51 +02:00
wrNoOpCloser.go Add raw-log functionality 2021-04-09 18:14:44 +02:00

Go Report Card

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