Documentation ¶
Index ¶
- func ArrayStringToArrayInt64(s []string) (g []int64)
- func Contains(s, substr string) bool
- func ConvertGradeToInt(s string) (grade []int)
- 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, admins []string) bool
- func IsCompAdmin(roles []string) bool
- func IsConnErr(err error) bool
- func Prefix(s string, p string, mt MessageType) (r string, b bool)
- func RandomString(n int) string
- func StartsWith(s, prefix string) bool
- type BotLogin
- type GetAppAccessToken
- type MessageType
- type Node
- type PluginConfig
- type QQGetAppAccessTokenResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayStringToArrayInt64 ¶
func ConvertGradeToInt ¶
func ConvertJinTime ¶
func ConvertTime ¶
func GuildAtConvert ¶
func IsBotAdmin ¶
func IsCompAdmin ¶
func RandomString ¶
func StartsWith ¶
Types ¶
type GetAppAccessToken ¶
type MessageType ¶
type MessageType int
const ( GuildMessage MessageType = iota GroupMessage PrivateMessage DirectMessage Undefined )
type PluginConfig ¶
type PluginConfig struct {
Conf []string
}
type QQGetAppAccessTokenResp ¶
Click to show internal directories.
Click to hide internal directories.