rcon

package
v0.0.0-...-5c9ae66 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operand

type Operand struct {
	ChannelID string
	RCONRole  string

	CommandSender minecraft.CommandSender
}

Operand forwarding chat messages in a channel to the RCON server and replying with the response

func (Operand) AddHandlers

func (o Operand) AddHandlers(ctx context.Context, session *discordgo.Session)

AddHandlers to the provided session

func (Operand) Intents

func (o Operand) Intents() discordgo.Intent

Intents used by this operand

func (Operand) Name

func (o Operand) Name() string

Name of the operand

Jump to

Keyboard shortcuts

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