structs

package
v0.0.0-...-6e710ea Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotConfig

type BotConfig struct {
	Auth struct {
		Token       string
		DatabaseURL string `json:"database_url"`
	}
	Bot struct {
		Prefixes     []string
		BotOwners    []string `json:"bot_owners"`
		AdminServer  string   `json:"admin_server"`
		ServerInvite string   `json:"server_invite"`
		Website      string
		TermBaseURL  string   `json:"term_base_url"`
		AllowedBots  []string `json:"allowed_bots"`

		HelpFields []EmbedField `json:"help_fields"`

		CreditFields []EmbedField `json:"credit_fields"`
	}
}

BotConfig ...

type EmbedField

type EmbedField struct {
	Name  string
	Value string
}

EmbedField ...

Jump to

Keyboard shortcuts

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