config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Client       *mongo.Client
	DBName       = flag.String("db", "", "The mongodb database name")
	DBUrl        = flag.String("url", "", "The mongodb access url")
	GuildID      = flag.String("guild", "", "Test guild ID. If not passed - bot registers commands.Commands globally")
	BotToken     = flag.String("token", "", "Bot access token")
	ChannelMusic = flag.String("chanm", "", "Discord channel id where the post of the music category will be sent to")
	ChannelVideo = flag.String("chanv", "", "Discord channel id where the post of the video category will be sent to")
	BotAdminRole = flag.String("admin", "0", "The bot administrator discord role ID")
	Debug        = flag.String("debug", "false", "sets log level to debug true/(false)")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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