custom_commmands

package
v2.3.7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand(base bot.BaseCommand, cfg *config.Config) bot.Command

GetCommand returns a set of all custom commands

Types

type Config

type Config struct {
	Enabled bool `mapstructure:"enabled"`
}

Config to enable/disable custom commands

Jump to

Keyboard shortcuts

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