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"`
|
Token string `yaml:"token" env:"DISCORD_TOKEN"`
|
||||||
GuildID string `yaml:"guild_id" env:"DISCORD_GUILD_ID"`
|
GuildID string `yaml:"guild_id" env:"DISCORD_GUILD_ID"`
|
||||||
|
|
||||||
EventCategory string `yaml:"event_category"`
|
EventCategory string `yaml:"event_category" env:"DISCORD_EVENT_CATEGORY"`
|
||||||
ArchiveCategory string `yaml:"archive_category"`
|
ArchiveCategory string `yaml:"archive_category" env:"DISCORD_ARCHIVE_CATEGORY"`
|
||||||
NotificationChannel string `yaml:"notification_channel"`
|
NotificationChannel string `yaml:"notification_channel" env:"DISCORD_ARCHIVE_CATEGORY"`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user