diff --git a/src/cli/bot.php b/src/cli/bot.php index 2cb6445..8c96950 100644 --- a/src/cli/bot.php +++ b/src/cli/bot.php @@ -34,6 +34,13 @@ catch (Exception $e) // Connect DB try { + @mkdir( + sprintf( + '%s/../../storage', + __DIR__ + ) + ); + $database = new PDO( sprintf( 'sqlite:%s',