custom_command

package
v0.0.0-...-bb841d2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UrrTriggerExists   = core.UrrNew("trigger already exists")
	UrrBuiltinCommand  = core.UrrNew("trigger collides with a built-in command")
	UrrTriggerNotFound = core.UrrNew("trigger was not found")
)
View Source
var Advanced = advanced{}
View Source
var AdvancedAdd = advancedAdd{}
View Source
var AdvancedDelete = advancedDelete{}
View Source
var AdvancedEdit = advancedEdit{}
View Source
var AdvancedHistory = advancedHistory{}
View Source
var AdvancedList = advancedList{}

Functions

func Add

func Add(place, creator int64, trigger, response string) (core.Urr, error)

func Delete

func Delete(place, deleter int64, trigger string) (core.Urr, error)

func Edit

func Edit(place, editor int64, trigger, response string) (core.Urr, error)

func History

func History(place int64, trigger string) ([]customCommand, error)

func List

func List(place int64) ([]string, error)

func Show

func Show(place int64, trigger string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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