Skip to content

Latest commit

 

History

History
88 lines (70 loc) · 2.02 KB

README.md

File metadata and controls

88 lines (70 loc) · 2.02 KB

Senchabot Twitch Bot

Twitch bot written in Go!

Getting Started

Prerequisites

  • Go 1.19 or later
  • If you haven't done prerequisites written in monorepo/README.md, please change into main directory and follow steps there first.

Installation

  1. For setting environment variables create a .env file based on the example file env.example

    cp env.example .env
  2. Fill the environment variables in the .env file

    # vim or another editor
    vim .env
  3. Install the required packages

    go mod install

Usage

  1. You can start the bot by running:

    go run ./cmd/main

Structure

.
├── client
│   └── client.go
├── cmd
│   └── main
│       └── main.go
├── Dockerfile
├── documentation
│   ├── README.md
│   └── TR
│       └── README.md
├── env.example
├── fly.toml
├── internal
│   ├── command
│   │   ├── addcommandalias.go
│   │   ├── addcommand.go
│   │   ├── cmds.go
│   │   ├── command.go
│   │   ├── deletecommandalias.go
│   │   ├── deletecommand.go
│   │   ├── helpers
│   │   │   ├── helpers.go
│   │   │   └── helpers_test.go
│   │   ├── help.go
│   │   ├── invite.go
│   │   ├── ping.go
│   │   ├── so.go
│   │   ├── sozluk.go
│   │   └── updatecommand.go
│   ├── handler
│   │   ├── botjoin.go
│   │   ├── handler.go
│   │   └── privatemessage.go
│   └── service
│       ├── service.go
│       └── webhook
│           ├── botjoin.go
│           └── webhook.go
└── README.md

Contributing

Contributions are always welcome! Please read the contribution guidelines first.