PHPDaemon\Examples\ExampleIRCBot::getConfigDefaults PHP Method

getConfigDefaults() protected method

Setting default config options Overriden from AppInstance::getConfigDefaults Uncomment and return array with your default options
protected getConfigDefaults ( ) : array | false
return array | false
    protected function getConfigDefaults()
    {
        $random = sprintf('%x', crc32(posix_getpid() . "" . microtime(true)));
        return ['url' => 'irc://guest_' . $random . ':[email protected]/Bot_phpDaemon'];
    }