diff --git a/app/bot.go b/app/bot.go index 49bd044..793a604 100644 --- a/app/bot.go +++ b/app/bot.go @@ -94,6 +94,7 @@ func (app *Bot) Notify(message string) { } func (app *Bot) onReady(s *discordgo.Session, r *discordgo.Ready) { + app.Notify("BirdBot is ready!") log.Print("BirdBot is ready!") } diff --git a/app/configuration.go b/app/configuration.go index 9fb4b88..29bb108 100644 --- a/app/configuration.go +++ b/app/configuration.go @@ -10,5 +10,5 @@ type DiscordConfig struct { 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"` + NotificationChannel string `yaml:"notification_channel" env:"DISCORD_NOTIFICATION_CHANNEL"` }