botsetting

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package botsetting 机器人设置相关

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BotNames      []string
	CommandPrefix string
	SuperUsers    []int64
	RingLen       uint
	Latency       time.Duration
	MarkMessage   bool
	WSClient      string
	AccessToken   string
}

Config 机器人设置

func Read

func Read() *Config

Read 读取配置文件

Jump to

Keyboard shortcuts

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