Documentation
¶
Index ¶
- func ArrayStringToArrayInt64(s []string) (g []int64)
- func Contains(s, substr string) bool
- func ConvertJinTime(i int) string
- func ConvertTime(str string) int32
- func EndsWith(s, suffix string) bool
- func GuildAtConvert(str string) (string, []string)
- func IsAdmin(roles []string) bool
- func IsBotAdmin(userId string) bool
- func IsConnErr(err error) bool
- func Prefix(s string, p string) (r string, b bool)
- func StartsWith(s, prefix string) bool
- type BotLogin
- type DataBase
- type Node
- type PluginConfig
- type Redis
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayStringToArrayInt64 ¶
func ConvertJinTime ¶
func ConvertTime ¶
func GuildAtConvert ¶
func IsBotAdmin ¶
func StartsWith ¶
Types ¶
type BotLogin ¶
func BotLoginInfo ¶
type DataBase ¶
func DataBaseSet ¶
type PluginConfig ¶
type PluginConfig struct {
Conf []string
}
func TbotConf ¶
func TbotConf() (c PluginConfig, err error)
Click to show internal directories.
Click to hide internal directories.