runtime

package
v0.0.0-...-162a0df Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEvent

func AddEvent(name string, f func())

func EvalCond

func EvalCond(s string) bool

func MustBotState

func MustBotState() *bot.State

func Nicks

func Nicks(channame string) (ret []string)

func NopNicks

func NopNicks(channame string) (ret []string)

func Start

func Start()

func Stmt

func Stmt(values ...string)

Types

type EventContext

type EventContext struct {
	Level    string
	Location string
	Nick     string
	Chan     string
	Msg      string
}

type Variables

type Variables struct {
	Globals map[string]string
	// contains filtered or unexported fields
}

func (*Variables) Load

func (m *Variables) Load(fname string)

func (*Variables) Lookup

func (m *Variables) Lookup(name string) (string, bool)

func (*Variables) Save

func (m *Variables) Save(fname string)

func (*Variables) SetGlobal

func (m *Variables) SetGlobal(name, val string)

func (*Variables) SetLocal

func (m *Variables) SetLocal(name, val string)

func (*Variables) SetOverride

func (m *Variables) SetOverride(name, val string)

Jump to

Keyboard shortcuts

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