tsoding / kgbotka

Twitch/Discord Chat Bot that works for KGB monkaS
https://twitch.tv/tsoding
MIT License
17 stars 1 forks source link
hacktoberfest hacktoberfest2020

Build Status

KGBotka

Twitch/Discord Chat Bot that works for KGB monkaS

Quick Start

WARNING! CONTAINS SUBMODULES! Clone with git clone --recursive.

Cabal

$ cabal v2-build
$ cabal v2-run kgbotka secret.json database.db

Stack

$ stack init --resolver=snapshot.yaml
$ stack build
$ stack run kgbotka secret.json database.db

secret.json

See ./secret.json.example.

Twitch

The easiest way to obtain Twitch credentials right now is to

  1. Go to https://tsoding.org/kgbotka-login/
  2. Press Login button and follow the instructions
  3. Copy paste the generated credentials to your secret.json. Check ./secret.json.example to learn about the format of the file.

Discord

See OAuth2 for Bots section of Discord documentation.

GitHub

  1. Generate the Personal Access Token
  2. Make sure you enable the gist scope, otherwise Friday Videos Gist synchronization won't work

Features

Friday Video Gist

TBD