# Functions
BuildCardMessageCols 创建卡片消息的列.
CheckIsAdmin 检查是否是管理员 @param userID @return isAdmin.
ForDebug 用于测试.
GetAdminLevel 获取管理员等级 @param userID @return level.
GetChannnelInfo 获取频道信息 @param channelID @return channelInfo @return err.
GetCommandInfo 获取命令信息 @param command @return info.
GetCommandInfoWithOpt 获取命令信息 @param option @return info.
GetCommandWithParameters 获取命令及参数 @param rawCommand @return command @return params.
GetCurrentTime 获取当前时间.
GetDbConnection returns the db connection @return *gorm.DB.
GetGuildInfo 获取公会信息 @param guildID @return guildInfo @return err.
GetOutBoundIP 获取机器人部署的当前ip.
GetUserInfo 获取用户信息 @param userID @param guildID @return userInfo.
InitGlowSansSCFontType 初始化字体类型.
InitLogger 初始化日志.
IsInSlice 判断机器人是否被at到 @param target @param slice @return bool.
MustAtoI 将字符串转换为int @param str @return int.
SendMessage 发送消息 @param targetID 目标ID @param QuoteID 引用ID @param authorID 作者ID @param err 错误信息.
SendMessageTemp 发送消息 @param targetID 目标ID @param QuoteID 引用ID @param authorID 作者ID @param err 错误信息.
Struct2Map 将结构体转换为map @param obj @return map.
UploadFileToCos 将文件上传到cos.
# Variables
var cosBucket = "kevinmatt-1303917904".
var cosBucket = "kevinmatt-1303917904".
var cosBucket = "kevinmatt-1303917904".
var cosBucket = "kevinmatt-1303917904".
GlowSansSC 字体类型,未来荧黑.
var ZapLog日志变量.
var ZapLog日志变量.
# Structs
Administrator is the struct of administrator.
ChannelLog is the struct of channel log.
CommandInfo is the struct of command info.
# Type aliases
ErrorCollector is a function that collects errors and returns the collected errors.