public DarkIRCBot() {
                Properties prop = new Properties();
                InputStream input = null;
                try {

                        input = new FileInputStream(DarkIRCmain.getConfigFile());

                        // load a properties file
                        prop.load(input);
                        this.setName(prop.getProperty("nick", "DarkUser"));
                } catch (IOException ex) {
                        ex.printStackTrace();
                } finally {
                        if (input != null) {
                                try {
                                        input.close();
                                } catch (IOException e) {
                                        e.printStackTrace();
                                }
                        }
                }
                this.setLogin("DarkIRC");
                this.setVersion("DarkIRC v0.1");
                this.setAutoNickChange(true);
                this.setVerbose(false);
                try {
                        this.setEncoding("UTF-8");
                } catch (UnsupportedEncodingException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                }
        }