customize

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package customize 提供自定义指令的实现

Index

Constants

This section is empty.

Variables

View Source
var Logger interface {
	Error(str string)
	Errorf(format string, args ...interface{})

	Waring(str string)
	Waringf(format string, args ...interface{})

	Info(str string)
	Infof(format string, args ...interface{})

	Debug(str string)
	Debugf(format string, args ...interface{})
}

Functions

func Auth

func Auth(args []string, fromQQ int64, ret func(string)) bool

func Exec

func Exec(args []string, fromQQ int64, ret func(string)) bool

检查命令是否匹配一个自定义命令,若是的话则丢到RCON执行 args长度必须大于0

Types

This section is empty.

Jump to

Keyboard shortcuts

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