sodaville

module
v0.0.0-...-99a83bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2023 License: MIT

README

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

Directories

Path Synopsis
cmd
bot

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL