go-bot

command module
v0.0.0-...-e18348e Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 9 Imported by: 0

README

go-bot

  • Simple twitch bot made with Go - Study purpose
  • I'm following the official Twitch Chatbot Docs
Packages
Todo:
  1. Connect
    • Connection via Golang's package net
  2. 100% Cli
    • This bot should be 100% configurable in the terminal
    • Maybe a JSON to store info:
    •     {
              "!discord": {
                  "timeout": 600, // 5 min
                  "access": 0, // 0 - everyone, 1 - VIP/Sub, 2 - Mod, 3 - Streamer,
                  "message": "My discord channel invitation link is ..."
              },
              "!hug{:userTo}": {
                  "timeout": 120, // 2 min
                  "access": 0,
                  "message": "/me $(userFrom) hugged $(userTo)" 
              },
              "!count": {
                  "timeout": 30, // 30 sec
                  "access": 1,
                  "variable": {
                      "counter": 124
                  },
                  "message": "This command have been used $(variable.counter)x times!"
              }
          }
      
  • Or something like this

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
services

Jump to

Keyboard shortcuts

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