config

package
v0.0.0-...-c21a6e6 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Token               string
	BotPrefix           string
	DefaultChannelID    string
	GuildID             string
	FundingRoundRoleID  string
	EarlyRoundRoleID    string
	BinanceRoundRoleID  string
	ParadigmRoundRoleID string
	CoinbaseRoundRoleID string
	BotOperatorRoleID   string
	TwitterEmoji        string
	TwitterEmojiName    string
)

Functions

func ReadConfig

func ReadConfig() error

ReadConfig reads the config.json file and unmarshals it into the Config struct

Types

type Config

type Config struct {
	Token               string `json:"token"`
	BotPrefix           string `json:"botPrefix"`
	DefaultChannelID    string `json:"channelID"`
	GuildID             string `json:"guildID"`
	FundingRoundRoleID  string `json:"fundingRoundRoleID"`
	EarlyRoundRoleID    string `json:"earlyRoundRoleID"`
	BinanceRoundRoleID  string `json:"binanceRoundRoleID"`
	ParadigmRoundRoleID string `json:"paradigmRoundRoleID"`
	CoinbaseRoundRoleID string `json:"coinbaseRoundRoleID"`
	BotOperatorRoleID   string `json:"botOperatorRoleID"`
	TwitterEmojiName    string `json:"twitterEmojiName"`
	TwitterEmojiID      string `json:"twitterEmojiID"`
}

Jump to

Keyboard shortcuts

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