Documentation ¶
Index ¶
- func AddCoins(userid string, coins int)
- func AddGame(name ...string)
- func AddLogChannel(guildID, channel string)
- func AddPluginToServer(serverID string, pluginID int)
- func AddReport(guildID, victim, mod, msg string, ReportType int) int
- func ChangePrefix(guildID, newPrefix string)
- func CheckUser(userid, username string)
- func CreateUser(userid, username string)
- func DeleteReport(id int)
- func GetCoins(userid string) string
- func GetGuildPrefix(guildID string) string
- func GetLevel(userid string) string
- func GetLogChannel(guildID string) string
- func GetPluginForGuild(serverID string, pluginID int) int
- func GetPluginsForGuild(serverID string) []int64
- func InitGuild(guildID string)
- func IsGuildInDataBase(guildID string) bool
- func Level()
- func RemoveLogChannel(guildID string)
- func RemovePlugin(serverID string, pluginID int)
- func ReplaceLogChannel(guildID, channel string)
- func ReturnXP(userid string) string
- func UpdateUserXP(userid string)
- type Report
- type UserLB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLogChannel ¶
func AddLogChannel(guildID, channel string)
func AddPluginToServer ¶
func ChangePrefix ¶
func ChangePrefix(guildID, newPrefix string)
func DeleteReport ¶
func DeleteReport(id int)
func GetGuildPrefix ¶
func GetLogChannel ¶
func GetPluginForGuild ¶
func GetPluginsForGuild ¶
GetPluginsForGuild returns all plugins for a specific guild
func IsGuildInDataBase ¶
func RemoveLogChannel ¶
func RemoveLogChannel(guildID string)
func RemovePlugin ¶
func ReplaceLogChannel ¶
func ReplaceLogChannel(guildID, channel string)
Types ¶
type Report ¶
func GetReports ¶
Click to show internal directories.
Click to hide internal directories.