go-dette/commands.go

15 lines
680 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package main
import (
neco "git.nefrace.ru/nefrace/nechotron"
)
var commandMe = neco.NewCommand("me", "Пишу ваш текст о вас в третьем лице", false)
var commandHelp = neco.NewCommand("help", "Показываю данный текст", false)
var commandSay = neco.NewCommand("say", "Пишу ваш текст от своего имени.", true)
var commandWarn = neco.NewCommand("warn", "Делаю предупреждение пользователю", true)
var defaultCommands = []*neco.Command{commandHelp, commandMe}
var adminCommands = []*neco.Command{commandSay, commandWarn}
var allCommands = append(defaultCommands, adminCommands...)