games

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 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(base bot.BaseCommand) bot.Commands

GetCommands will return a list of available games commands

func NewNumberGuesserCommand

func NewNumberGuesserCommand(base bot.BaseCommand) bot.Command

NewNumberGuesserCommand is a very small game to guess a random number

func NewQuizCommand

func NewQuizCommand(base bot.BaseCommand) 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