This commit is contained in:
2026-01-01 21:10:46 +08:00
parent 5c1b19c08a
commit 6c31ffa120
26 changed files with 1171 additions and 209 deletions

View File

@@ -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` не найден");
}