diff --git a/src/Commands/MultiSessionCommand.php b/src/Commands/MultiSessionCommand.php index fab8cc7..6e415aa 100644 --- a/src/Commands/MultiSessionCommand.php +++ b/src/Commands/MultiSessionCommand.php @@ -43,7 +43,7 @@ public function handle() if ($this->option('model')) { $user = $this->ask('Telegram user model (for relation)', 'App/User'); - if (file_exists(app_path()) && !$this->option('force')) { + if (file_exists(app_path("TelegramSession.php")) && !$this->option('force')) { if (!$this->confirm("The App/TelegramSession model is already exist. Replace it?")) { $this->info('Multi session export aborted.'); return;