utils

package
v0.0.0-...-772ccb3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ModsList

func ModsList(s *discordgo.Session, m *discordgo.MessageCreate)

ModsList returns the list of mods running on the server.

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