Allow full env config

This commit is contained in:
Layla 2022-10-27 02:34:13 +00:00
parent df0f78d390
commit 18ff825e24

View File

@ -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"`
}