From 18ff825e244e18f881328c98ee35ebf2c8f12053 Mon Sep 17 00:00:00 2001 From: Layla Date: Thu, 27 Oct 2022 02:34:13 +0000 Subject: [PATCH] Allow full env config --- app/configuration.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/configuration.go b/app/configuration.go index 2a49f5b..9fb4b88 100644 --- a/app/configuration.go +++ b/app/configuration.go @@ -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"` }