cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnswerBgg

func AnswerBgg(session *discordgo.Session, m *discordgo.MessageCreate)

AnswerBgg answers the BGG command

func AnswerHello

func AnswerHello(session *discordgo.Session, m *discordgo.MessageCreate)

AnswerHello answers the Hello command

func ChannelMessageSend

func ChannelMessageSend(session *discordgo.Session, channelID string, message string)

func MessageCreate

func MessageCreate(session *discordgo.Session, m *discordgo.MessageCreate)

MessageCreate is called every time a new message is created on any channel that the authenticated bot has access to.

func SplitLines added in v0.0.3

func SplitLines(s string) []string

SplitLines splits lines

Types

This section is empty.

Jump to

Keyboard shortcuts

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