utils

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ModListUsage = "Usage: $mods [on | off | all]"
View Source
var VersionStringUsage = "Usage: $version"

Functions

func ModsList

func ModsList(s *discordgo.Session, args string)

ModsList returns the list of mods running on the server.

func VersionString

func VersionString(s *discordgo.Session, _ string)

Types

type Mod

type Mod struct {
	Name    string
	Enabled bool
}

Mod is a struct containing info about a mod.

type ModJson

type ModJson struct {
	Mods []Mod
}

ModJson is struct containing a slice of Mod.

Jump to

Keyboard shortcuts

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