func main() { core.LoadConfig() ircbot := core.NewBot( core.Config.Nick, core.Config.Server, core.Config.Port) defer ircbot.Disconnect() modules.Load(ircbot) ircbot.Connect() }
func HandleReload(_ []string, sender string, channel string) { if admin.CheckAdmin(sender) { core.LoadConfig() ReloadFunc() } }