Documentation
¶
Index ¶
Constants ¶
View Source
const GameStatusApiUrl = "https://alpha.mythfall.com:7779/api/status"
Variables ¶
View Source
var LiveBanners = []Banner{ { ChannelId: "1201270649365213215", Func: func(b *BannerSystem) string { return fmt.Sprintf("🤺 Players: %d", b.cachedStatus.NumPlayers) }, }, { ChannelId: "1201270754419953765", Func: func(b *BannerSystem) string { lowestSphere := findSphereWithLowestStability(b.cachedStatus.Spheres) return fmt.Sprintf("🀄 Stability: %d", lowestSphere.Stability) }, }, }
Functions ¶
This section is empty.
Types ¶
type Banner ¶
type Banner struct { ChannelId string Func func(b *BannerSystem) string }
type BannerSystem ¶
type BannerSystem struct {
// contains filtered or unexported fields
}
func NewBannerSystem ¶
func (*BannerSystem) Listen ¶
func (b *BannerSystem) Listen()
type GameStatus ¶
Click to show internal directories.
Click to hide internal directories.