Tweak & Improvements

This commit is contained in:
Layla 2022-10-27 02:35:32 +00:00
parent 18ff825e24
commit 3641eab638
2 changed files with 2 additions and 1 deletions

View File

@ -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!")
}

View File

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