Tweak & Improvements
This commit is contained in:
parent
18ff825e24
commit
3641eab638
@ -94,6 +94,7 @@ func (app *Bot) Notify(message string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (app *Bot) onReady(s *discordgo.Session, r *discordgo.Ready) {
|
func (app *Bot) onReady(s *discordgo.Session, r *discordgo.Ready) {
|
||||||
|
app.Notify("BirdBot is ready!")
|
||||||
log.Print("BirdBot is ready!")
|
log.Print("BirdBot is ready!")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,5 +10,5 @@ type DiscordConfig struct {
|
|||||||
|
|
||||||
EventCategory string `yaml:"event_category" env:"DISCORD_EVENT_CATEGORY"`
|
EventCategory string `yaml:"event_category" env:"DISCORD_EVENT_CATEGORY"`
|
||||||
ArchiveCategory string `yaml:"archive_category" env:"DISCORD_ARCHIVE_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"`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user