bot

package
v0.0.0-...-e394e70 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2012 License: BSD-2-Clause-Views Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Games []GameInfo
)
View Source
var (
	Quit = make(chan bool)
)

Functions

func Connect

func Connect()

func Notice

func Notice(target, text string)

func RegisterGame

func RegisterGame(game GameInfo)

func Say

func Say(text string)

Types

type GameInfo

type GameInfo struct {
	Name           string
	StartCallback  func(players []string)
	ActionCallback func(sender, action string)
}

Jump to

Keyboard shortcuts

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