config

package
v0.0.0-...-a6a1fe7 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIKeys struct {
		Discord string `yaml:"discord"`
		Osu     struct {
			ClientID     string `yaml:"clientID"`
			ClientSecret string `yaml:"clientSecret"`
		}
	} `yaml:"apiKeys"`
	Commands     []string `yaml:"commands"`
	AllowedRoles []string `yaml:"allowedRoles"`
	GuideID      string   `yaml:"guildID"`
}

func GetConfigs

func GetConfigs() *Config

GetConfigs returns the global configs of the controller

Jump to

Keyboard shortcuts

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