Self-hosted alternative to one of the big bots managed by big companies…
Find a file
Knut Ahlers 33f7739b6b
Disable CGO for default container
and therefore disable plugin support

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-19 17:18:37 +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
examples/plugin Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
internal/actors Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
plugins Allow plugins to register template functions 2021-08-19 16:40:34 +02:00
twitch Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
wiki Add example for generic chat-addable commands 2021-06-30 01:37:41 +02:00
.gitignore Add HCL config format support 2021-05-24 17:36:16 +02:00
.golangci.yml Lint: Update linter list, disable gomnd for some lines 2021-06-29 00:05:11 +02:00
.repo-runner.yaml Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
action_core.go Allow plugins to register template functions 2021-08-19 16:40:34 +02:00
action_counter.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
action_script.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
action_setvar.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
actions.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
automessage.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
config.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
configwatch.go Fix: Do not spam events when file is gone for longer 2021-05-24 18:00:50 +02:00
Dockerfile Disable CGO for default container 2021-08-19 17:18:37 +02:00
events.go Add whisper event 2021-05-26 14:38:37 +02:00
functions.go Allow plugins to register template functions 2021-08-19 16:40:34 +02:00
functions_counter.go Allow plugins to register template functions 2021-08-19 16:40:34 +02:00
functions_irc.go Allow plugins to register template functions 2021-08-19 16:40:34 +02:00
functions_twitch.go Allow plugins to register template functions 2021-08-19 16:40:34 +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
History.md prepare release v0.15.0 2021-06-30 10:31:54 +02:00
irc.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
LICENSE Add META 2020-12-21 01:55:48 +01:00
main.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
Makefile Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
msgformatter.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
plugins.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
plugins_unsupported.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
README.md Add validation mode for config 2021-07-12 14:53:20 +02:00
store.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
timers.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +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
  -v, --validate-config            Loads the config, logs any errors and quits with status 0 on success
      --version                    Prints current version and exits