discord

package
v0.0.0-...-20301d3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseBot

func CloseBot()

CloseBot disconnects from discord.

func GetCurrentCasual

func GetCurrentCasual() *stats.Match

func GetCurrentTournament

func GetCurrentTournament() *stats.Match

func NewMatch

func NewMatch(chanID string) (m *stats.Match)

NewMatch initializes match structure and sets it

func OpenBot

func OpenBot(token string, debug bool)

OpenBot connects to discord with given token. It will panic if any error occurs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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