config

package
v0.0.0-...-b05498c Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: Apache-2.0 Imports: 3 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 {
	Bedhock struct {
		Address string
	}
	Bot struct {
		DiscordLogURL string
		UserMap       map[string]string
		Token         string
		GuildID       string
		LogChannel    string
		LogCategory   string
		ChatCategory  string
		ChatChannel   string
		PlayingRoleID string
	}
}

func LoadConfig

func LoadConfig() (Config, error)

func (Config) ReverseDiscordUser

func (c Config) ReverseDiscordUser(discordUsername string) string

Jump to

Keyboard shortcuts

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