An open API service indexing awesome lists of open source software.

https://github.com/losinggeneration/batybot

A very basic Twitch bot. Nothing too interesting here.
https://github.com/losinggeneration/batybot

Last synced: 8 months ago
JSON representation

A very basic Twitch bot. Nothing too interesting here.

Awesome Lists containing this project

README

          

# Batybot

Batybot is a basic Twitch bot. It's probably not useful to you and requires
code changes to do something useful for you.

# Environment

The following settings can be used:

TWITCH_TOKEN - An oauth token in the format: oauth:TOKEN
TWITCH_USER - username to login as.
TWITCH_CHANNEL - the channel (one for now) that the bot should join
TWITCH_CLIENT_ID - used to get the auth token with the twitch cli

# Getting an oauth token

In order to use the bot it needs pretty much full privileges.

twitch-cli token -u --client-id=$TWITCH_CLIENT_ID -s "chat:edit chat:read whispers:read whispers:edit"

If it's made mod, it can omit the whispers permissions.

twitch-cli token -u --client-id=$TWITCH_CLIENT_ID -s "chat:edit chat:read"