Skip to content

maliur/sodaville

Repository files navigation

Actions Status Actions Status

            ███████╗ ██████╗ ██████╗  █████╗ ██╗   ██╗██╗██╗     ██╗     ███████╗
            ██╔════╝██╔═══██╗██╔══██╗██╔══██╗██║   ██║██║██║     ██║     ██╔════╝
            ███████╗██║   ██║██║  ██║███████║██║   ██║██║██║     ██║     █████╗  
            ╚════██║██║   ██║██║  ██║██╔══██║╚██╗ ██╔╝██║██║     ██║     ██╔══╝  
            ███████║╚██████╔╝██████╔╝██║  ██║ ╚████╔╝ ██║███████╗███████╗███████╗
            ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝  ╚═══╝  ╚═╝╚══════╝╚══════╝╚══════╝

Another Twitch chat bot

Installation

Requirements

  • Go language install with your package manager or from golang.org
  • OAuth token from twitch Might show sensitive information Twitch chat OAuth generator
  • SQLite3 install with your package manager or from sqlite.org
  • (Optional) Install Make

Usage

Make sure that you have set these environment variables

OAUTH_TOKEN=<value>
BOT_USERNAME=<value-here>
CHANNEL_NAME=<value-here>

Run the database migration

sqlite3 sodaville.db < migrations.sql

To start the bot:

go build -o sodaville cmd/bot/main.go && ./sodaville

Or with Make:

make run

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Released under MIT license

Releases

No releases published

Packages