Documentation ¶
Index ¶
- func ArrayStringToArrayInt64(s []string) (g []int64)
- func Contains(s, substr string) bool
- func EndsWith(s, suffix string) bool
- func IsAdmin(bot *pbbot.Bot, groupId, userId int64) bool
- func IsBotAdmin(userId int64) bool
- func IsConnErr(err error) bool
- func IsGuildAdmin(role []string) bool
- func Prefix(s string, p string) (r string, b bool)
- func StartsWith(s, prefix string) bool
- type DataBase
- type PluginConfig
- type Redis
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayStringToArrayInt64 ¶
func IsBotAdmin ¶
func IsGuildAdmin ¶
func StartsWith ¶
Types ¶
type DataBase ¶
func DataBaseSet ¶
type PluginConfig ¶
func TbotConf ¶
func TbotConf() (c PluginConfig, err error)
Click to show internal directories.
Click to hide internal directories.