Allow full env config
This commit is contained in:
parent
df0f78d390
commit
18ff825e24
@ -8,7 +8,7 @@ type DiscordConfig struct {
|
||||
Token string `yaml:"token" env:"DISCORD_TOKEN"`
|
||||
GuildID string `yaml:"guild_id" env:"DISCORD_GUILD_ID"`
|
||||
|
||||
EventCategory string `yaml:"event_category"`
|
||||
ArchiveCategory string `yaml:"archive_category"`
|
||||
NotificationChannel string `yaml:"notification_channel"`
|
||||
EventCategory string `yaml:"event_category" env:"DISCORD_EVENT_CATEGORY"`
|
||||
ArchiveCategory string `yaml:"archive_category" env:"DISCORD_ARCHIVE_CATEGORY"`
|
||||
NotificationChannel string `yaml:"notification_channel" env:"DISCORD_ARCHIVE_CATEGORY"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user