Self-hosted alternative to one of the big bots managed by big companies…
Find a file
2021-05-26 14:08:07 +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 part event 2021-05-26 14:03:37 +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 Simplify function definitions 2020-12-25 19:31:07 +01:00
action_counter.go Fix: Allow templating to read user input 2021-03-06 01:42:40 +01:00
action_delay.go Lint: Disable requirement for crypto/rand for time randomizer 2021-05-12 20:53:45 +02:00
action_delete.go Add delete action for single message 2020-12-27 14:42:51 +01:00
action_respond.go Allow templating in respond_fallback 2021-01-21 01:13:09 +01:00
action_script.go Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
action_timeout.go Simplify function definitions 2020-12-25 19:31:07 +01:00
actions.go Improve timer entries 2021-01-24 01:46:40 +01:00
automessage.go Add traces for automessage disable 2021-05-25 18:40:06 +02:00
badges.go Initial version 2020-12-21 01:33:57 +01:00
config.go Add global variables to be used in templates 2021-05-25 16:26:03 +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 part event 2021-05-26 14:03:37 +02:00
functions.go Extract template functions into registry 2021-04-21 22:43:33 +02:00
functions_counter.go Extract template functions into registry 2021-04-21 22:43:33 +02:00
functions_irc.go Extract template functions into registry 2021-04-21 22:43:33 +02:00
functions_twitch.go Fix: Display fallback when no category is set 2021-05-24 21:53:17 +02:00
go.mod Drop HCL support (causes too much effort for too little benefit) 2021-05-25 01:01:46 +02:00
go.sum Drop HCL support (causes too much effort for too little benefit) 2021-05-25 01:01:46 +02:00
History.md prepare release v0.9.0 2021-05-26 14:08:07 +02:00
irc.go Add part event 2021-05-26 14:03:37 +02:00
LICENSE Add META 2020-12-21 01:55:48 +01:00
main.go Replace non-reliable fsevents library with simple check 2021-05-24 17:55:12 +02:00
Makefile Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
msgformatter.go Add global variables to be used in templates 2021-05-25 16:26:03 +02:00
README.md Update README for new flags 2021-04-22 00:39:18 +02:00
rule.go Fix: Permit check was broken and required permit for all 2021-05-25 12:08:41 +02:00
rule_test.go Add Disable and DisableOnTemplate attributes 2021-05-25 01:23:23 +02:00
store.go Initial version 2020-12-21 01:33:57 +01:00
timers.go Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
twitch.go Add displayName template function 2021-05-24 21:42:55 +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