commands

package
v0.0.0-...-9358e86 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2016 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentCommand

func CurrentCommand(db *sqlx.DB, userID string) slack.ResponseMessage

CurrentCommand show the current user game state

func GetGameImage

func GetGameImage(db *sqlx.DB, stateID string) (image.Image, error)

GetGameImage returns the image by state

func GuessCommand

func GuessCommand(db *sqlx.DB, userID string, char rune) slack.ResponseMessage

func PingCommand

func PingCommand() slack.ResponseMessage

PingCommand ping back

func StartCommand

func StartCommand(db *sqlx.DB, userID string) slack.ResponseMessage

Types

This section is empty.

Jump to

Keyboard shortcuts

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