Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscordBotLoginInput ¶
type DiscordBotLoginInput struct {
Pwd string `json:"pwd" query:"pwd"`
}
type DiscordDailyResponse ¶ added in v0.4.0
type DiscordMember ¶
type DiscordMember struct {
DiscordID string `json:"discord_id"`
Name string `json:"name"`
Nick string `json:"nick"`
XP float64 `json:"xp"`
LastDailyAt string `json:"last_daily_at"`
Level int `json:"level"`
Streak int `json:"streak"`
}
func (*DiscordMember) AddXP ¶
func (d *DiscordMember) AddXP(xp float64)
func (*DiscordMember) CanClaimDaily ¶
func (d *DiscordMember) CanClaimDaily() bool
func (*DiscordMember) GetNeededXP ¶
func (d *DiscordMember) GetNeededXP() float64
type DiscordVerifyInput ¶ added in v0.3.0
type DiscordVerifyResponse ¶ added in v0.4.0
type DiscordVerifyResponse struct {
Name string `json:"name"`
}
type HypixelPlayer ¶ added in v0.3.0
type HypixelPlayerResponse ¶ added in v0.3.0
type MojangProfile ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.