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) 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
Click to show internal directories.
Click to hide internal directories.