games

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommands added in v1.6.3

func GetCommands(slackClient client.SlackClient) bot.Commands

GetCommands will return a list of available games commands

func NewNumberGuesserCommand

func NewNumberGuesserCommand(slackClient client.SlackClient) bot.Command

NewNumberGuesserCommand is a very small game to guess a random number

func NewQuizCommand

func NewQuizCommand(slackClient client.SlackClient) bot.Command

Types

type Quiz

type Quiz struct {
	ResponseCode int        `json:"response_code"`
	Questions    []question `json:"results"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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