config

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ChannelConfig

type ChannelConfig struct {
	ChannelId string `json:"channel_id"`
	Group     string `json:"group"`
}

type JsonConfig

type JsonConfig struct {
	BotId       string          `json:"bot_id"`
	BotApiToken string          `json:"bot_api_token"`
	GuildId     string          `json:"guild_id"`
	IsSandbox   bool            `json:"is_sandbox"`
	Addr        string          `json:"addr"`
	Channels    []ChannelConfig `json:"channels"`
}
var BotConfig JsonConfig

Jump to

Keyboard shortcuts

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