Self-hosted alternative to one of the big bots managed by big companies…
Find a file
Knut Ahlers d1e63f0c2b
Log amount of loaded rules on reload
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 00:24:36 +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 documentation for auto_messages 2021-03-27 18:06:44 +01:00
.gitignore Remove wiki from gitignore for subtree addition 2020-12-26 01:33:35 +01: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_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 Support templating in automessages 2021-05-06 15:19:24 +02:00
badges.go Initial version 2020-12-21 01:33:57 +01:00
config.go Log amount of loaded rules on reload 2021-05-11 00:24:36 +02:00
Dockerfile Include tzdata into Docker image to allow TZ env setting 2021-05-06 15:14:58 +02:00
events.go Make join events available to handlers 2021-02-13 15:12:20 +01: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 Extract template functions into registry 2021-04-21 22:43:33 +02:00
go.mod Add automated messages (#2) 2021-03-27 17:59:56 +01:00
go.sum Add automated messages (#2) 2021-03-27 17:59:56 +01:00
History.md prepare release v0.4.1 2021-05-06 15:15:18 +02:00
irc.go Introduce general send limit to prevent global-timeouts 2021-04-21 23:44:13 +02:00
LICENSE Add META 2020-12-21 01:55:48 +01:00
main.go Log amount of loaded rules on reload 2021-05-11 00:24:36 +02:00
Makefile Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
msgformatter.go Fix: Do not extract fields from nil message 2021-05-06 15:27:24 +02:00
README.md Update README for new flags 2021-04-22 00:39:18 +02:00
rule.go Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +02:00
rule_test.go Add code linting / binary publishing (#3) 2021-04-03 14:11:47 +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 code linting / binary publishing (#3) 2021-04-03 14:11:47 +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