Self-hosted alternative to one of the big bots managed by big companies…
Go to file
Knut Ahlers e4d4c45e7a
Add registration for raw-message-handlers
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 15:01:10 +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 Update dependencies and bring plugin example to work with master 2021-08-19 22:58:10 +02:00
internal/actors Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
plugins Add registration for raw-message-handlers 2021-09-02 15:01:10 +02:00
twitch Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
wiki Provide HTTP server and registration function 2021-08-25 20:55:02 +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 Add registration for raw-message-handlers 2021-09-02 15:01:10 +02:00
action_counter.go Lint: "Fix" two linter errors 2021-08-28 17:58:31 +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 Re-work HTTP API, create API for counter and setvariable modules 2021-08-28 17:27:24 +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 Provide HTTP server and registration function 2021-08-25 20:55:02 +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_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
functions.go Lint: Ignore gocritic for fatal program exit not running unlock 2021-08-19 17:27:47 +02:00
go.mod Re-work HTTP API, create API for counter and setvariable modules 2021-08-28 17:27:24 +02:00
go.sum Re-work HTTP API, create API for counter and setvariable modules 2021-08-28 17:27:24 +02:00
History.md prepare release v0.17.0 2021-08-28 22:17:43 +02:00
irc.go Add registration for raw-message-handlers 2021-09-02 15:01:10 +02:00
LICENSE Add META 2020-12-21 01:55:48 +01:00
main.go Re-work HTTP API, create API for counter and setvariable modules 2021-08-28 17:27:24 +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_unsupported.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
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
swagger.go Lint: "Fix" two linter errors 2021-08-28 17:58:31 +02:00
swagger.html Re-work HTTP API, create API for counter and setvariable modules 2021-08-28 17:27:24 +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