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.
- Host: GitHub
- URL: https://github.com/losinggeneration/batybot
- Owner: losinggeneration
- License: upl-1.0
- Created: 2024-04-26T19:22:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-25T09:35:37.000Z (9 months ago)
- Last Synced: 2025-09-25T11:34:09.702Z (9 months ago)
- Language: Go
- Size: 2.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"