script

package
v0.0.0-...-036093c Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2016 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Scripting support

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(t *telegram.Telegram, config map[string]interface{}, modules map[string]bool, cmds *types.CommandMap) types.Command

Types

type Script

type Script struct {
	// contains filtered or unexported fields
}

func (*Script) Command

func (this *Script) Command(name string, msg telegram.TObject, args []string)

func (*Script) Default

func (this *Script) Default(name string, msg telegram.TObject, state *map[string]interface{})

Jump to

Keyboard shortcuts

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