package
Version:
v0.0.0-...-b0a87dc
Opens a new window with list of versions in this module.
Published: Aug 26, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Bot struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Debug bool `yaml:"debug"`
Superusers []int64 `yaml:"superusers"`
Nickname []string `yaml:"nickname"`
CommandPrefix string `yaml:"command_prefix"`
AccessToken string `yaml:"access_token"`
}
type Config struct {
Bot Bot `yaml:"bot"`
Driver Driver `yaml:"driver"`
Plugin Plugin `yaml:"plugin"`
}
type Driver struct {
Gocqhttp Gocqhttp `yaml:"gocqhttp"`
}
type Gocqhttp struct {
Enabled bool `yaml:"enabled"`
Account int64 `yaml:"account"`
Password string `yaml:"password"`
Protocol int `yaml:"protocol"`
DownloadVersion string `yaml:"download_version"`
}
type Plugin struct {
SetuIsUseProxy bool `yaml:"setu_is_use_proxy"`
SaucenaoKey string `yaml:"saucenao_key"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.