WIP
This commit is contained in:
@@ -9,8 +9,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace App\Core;
|
||||
|
||||
use App\Errors\InvalidTelegramSecretException;
|
||||
use App\Errors\PlaylistNotFoundException;
|
||||
use App\Exceptions\InvalidTelegramSecretException;
|
||||
use App\Exceptions\PlaylistNotFoundException;
|
||||
use DateTimeImmutable;
|
||||
use Exception;
|
||||
use JsonException;
|
||||
@@ -168,7 +168,7 @@ class Bot
|
||||
}
|
||||
|
||||
try {
|
||||
$pls = ini()->getPlaylist($code);
|
||||
$pls = ini()->playlist($code);
|
||||
} catch (PlaylistNotFoundException) {
|
||||
return $this->reply("Плейлист `$code` не найден");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user