routes

package
v1.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdvanceExperience

func AdvanceExperience(context *multiplexer.Context)

AdvanceExperience advances experience of author.

func ExpToLevel

func ExpToLevel(exp int) int

ExpToLevel calculates amount of levels from an experience integer.

func LevelToExp

func LevelToExp(level int) int

LevelToExp calculates amount of experience from a level integer.

Types

type MemberWarning

type MemberWarning struct {
	Text      string    `json:"text"`
	Time      time.Time `json:"time"`
	GuildID   string    `json:"guild_id"`
	ChannelID string    `json:"channel_id"`
	MessageID string    `json:"message_id"`
	UserID    string    `json:"user_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL