twitch

package
v0.0.0-...-ff1933e Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *http.Client

Functions

func RunCommand

func RunCommand(ds *discordgo.Session, mc *discordgo.MessageCreate, cmd string, args []string)

Types

type Module

type Module struct {
	api.Module
}

func (*Module) Load

func (tm *Module) Load(session *discordgo.Session)

func (*Module) Name

func (*Module) Name() string

type TwitchApi

type TwitchApi struct {
	Data []TwitchApiData `json:"data"`
}

type TwitchApiData

type TwitchApiData struct {
	Id          string `json:"id"`
	DisplayName string `json:"display_name"`
	Login       string `json:"login"`
}

Jump to

Keyboard shortcuts

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