Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoGame = GameError("No game in progress")
Functions ¶
This section is empty.
Types ¶
type ChessHandler ¶
type ChessHandler struct {
// contains filtered or unexported fields
}
func (*ChessHandler) GameOver ¶
func (c *ChessHandler) GameOver(g *game, s *discordgo.Session, channelID string) error
GameOver sends game finish Card.
func (*ChessHandler) MessageCreateHandler ¶
func (c *ChessHandler) MessageCreateHandler(s *discordgo.Session, m *discordgo.MessageCreate)
Click to show internal directories.
Click to hide internal directories.