Sign inSign up

thomaslule/twitch-game-command

By thomaslule

Updated about 6 years ago

A twitch chat bot that gives an auto-updated customizable description for games

Image
1

50K+

thomaslule/twitch-game-command repository overview

Twitch Game Command

https://github.com/thomaslule/twitch-game-command

Example usage with docker-compose

version: "3"
services:
  twitch-game-command:
    image: thomaslule/twitch-game-command:latest
    volumes:
      - tgc-data:/root/stored
    environment:
      TWITCH_GAME_COMMAND_CHANNEL: yourchannel
      TWITCH_GAME_COMMAND_LOGINS: yourchannel,yourtrustedfriend
      TWITCH_GAME_COMMAND_BOT_NAME: yourbot
      TWITCH_GAME_COMMAND_BOT_TOKEN: oauth:something
      TWITCH_GAME_COMMAND_CLIENT_ID: something
      TWITCH_GAME_COMMAND_CLIENT_SECRET: something
    restart: unless-stopped
volumes:
  tgc-data:

Volumes

/root/stored is where the app data is persisted.

Environment variables

TWITCH_GAME_COMMAND_CHANNEL - channel where the bot will be active

TWITCH_GAME_COMMAND_BOT_NAME - bot account login

TWITCH_GAME_COMMAND_BOT_TOKEN - bot account token (create one here https://twitchapps.com/tmi/)

TWITCH_GAME_COMMAND_CLIENT_ID - twitch API client ID (create an app here https://dev.twitch.tv/console/apps redirect URL must match the admin interface url)

TWITCH_GAME_COMMAND_CLIENT_SECRET - twitch API client secret

TWITCH_GAME_COMMAND_LOGINS - comma-separated list of twitch logins authorized to access the admin API

TWITCH_GAME_COMMAND_PORT - (optional, default is 3000) port where the http admin interface will be served

Tag summary

Content type

Image

Digest

Size

347.7 MB

Last updated

about 6 years ago

docker pull thomaslule/twitch-game-command