Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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"` }
Click to show internal directories.
Click to hide internal directories.