2023-01-22 23:53:20 +03:00
|
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
2023-01-24 00:37:27 +03:00
|
|
|
|
neco "git.nefrace.ru/nefrace/nechotron"
|
2023-01-22 23:53:20 +03:00
|
|
|
|
)
|
|
|
|
|
|
2023-01-24 00:37:27 +03:00
|
|
|
|
var commandMe = neco.NewCommand("me", "Пишу ваш текст о вас в третьем лице", false)
|
|
|
|
|
var commandHelp = neco.NewCommand("help", "Показываю данный текст", false)
|
|
|
|
|
var commandSay = neco.NewCommand("say", "Пишу ваш текст от своего имени.", true)
|
|
|
|
|
var commandWarn = neco.NewCommand("warn", "Делаю предупреждение пользователю", true)
|
2023-01-24 23:17:30 +03:00
|
|
|
|
|
2023-06-13 02:22:44 +03:00
|
|
|
|
var defaultCommands = []*neco.Command{commandHelp, commandMe}
|
|
|
|
|
var adminCommands = []*neco.Command{commandSay, commandWarn}
|
|
|
|
|
var allCommands = append(defaultCommands, adminCommands...)
|