Tweak & Improvements
This commit is contained in:
		@ -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"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user