admin

package
v0.0.0-...-4647870 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

P references the var Pipe in main

View Source
var R *bool

R is a reference to the running boolean in main.

View Source
var RestartCount int

RestartCount is the number of times the server has restarted.

Functions

func Restart

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

Restart saves and restarts the server

func SaveServer

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

SaveServer executes the save command on the server.

func StopServer

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

StopServer saves and stops the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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