config

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationConfig

type ApplicationConfig struct {
}

ApplicationConfig is the general application configuration.

type BotConfig

type BotConfig struct {
	// Prefix for commands
	CommandPrefix string //`toml:"command_prefix"`
	// Initial status of the bot
	Status string
}

BotConfig is the bot behavior configuration.

type Config

type Config struct {
	Application ApplicationConfig
	Discord     DiscordConfig
	Bot         BotConfig
}

Config contains all configuration objects.

type DiscordConfig

type DiscordConfig struct {
	Token string //`toml:"token"`
}

DiscordConfig is the discord configuration.

Jump to

Keyboard shortcuts

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