Self-hosted alternative to one of the big bots managed by big companies…
Find a file
Knut Ahlers 2b67673e95
Add category search and channel update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:09: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 Support sending message to different channel 2021-09-03 12:37:31 +02:00
plugins Expose TwitchClient to plugins 2021-09-10 17:57:04 +02:00
twitch Add category search and channel update 2021-09-10 19:09:10 +02:00
wiki Add fallback support to group matches 2021-09-08 15:09:01 +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 Expose TwitchClient to plugins 2021-09-10 17:57:04 +02:00
action_counter.go Fix: Nil pointer segfaults due to direct access to message object 2021-09-02 23:26:39 +02:00
action_script.go Fix: Nil pointer segfaults due to direct access to message object 2021-09-02 23:26:39 +02:00
action_setvar.go Fix: Nil pointer segfaults due to direct access to message object 2021-09-02 23:26:39 +02:00
actions.go Fix: Nil pointer segfaults due to direct access to message object 2021-09-02 23:26:39 +02:00
automessage.go Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
config.go Fix: Nil pointer segfaults due to direct access to message object 2021-09-02 23:26:39 +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 Twitch events 2021-09-02 17:09:30 +02:00
functions.go Lint: Ignore gocritic for fatal program exit not running unlock 2021-08-19 17:27:47 +02:00
functions_counter.go Allow plugins to register template functions 2021-08-19 16:40:34 +02:00
functions_irc.go Add fallback support to group matches 2021-09-08 15:09:01 +02:00
functions_twitch.go Allow plugins to register template functions 2021-08-19 16:40:34 +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 Fix: Nil pointer segfaults due to direct access to message object 2021-09-02 23:26:39 +02:00
LICENSE Add META 2020-12-21 01:55:48 +01:00
main.go Fix: Nil pointer segfaults due to direct access to message object 2021-09-02 23:26:39 +02:00
Makefile Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
msgformatter.go Fix: Use derivation function for template fields 2021-09-03 00:13:28 +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
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
twitchWatcher.go Fix: Nil pointer segfaults due to direct access to message object 2021-09-02 23:26:39 +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