broadcast

package
v0.0.0-...-bd6642e Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_SIZE = 1800

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscordBot

type DiscordBot struct {
	// contains filtered or unexported fields
}

func NewDiscord

func NewDiscord(token string) (*DiscordBot, error)

func (*DiscordBot) Close

func (bot *DiscordBot) Close()

func (*DiscordBot) Guild

func (bot *DiscordBot) Guild() (*discordgo.Guild, error)

func (*DiscordBot) SendDiffs

func (bot *DiscordBot) SendDiffs(code string, diff storage.ProgramDiff) error

func (*DiscordBot) SetReader

func (bot *DiscordBot) SetReader(rd io.Reader)

func (*DiscordBot) Start

func (bot *DiscordBot) Start() error

Jump to

Keyboard shortcuts

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