fix jibit error

This commit is contained in:
2026-08-03 13:47:01 +03:30
parent d360539208
commit 9a4a1fec66
2 changed files with 11 additions and 4 deletions
@@ -17,6 +17,7 @@ class PriceChannelTest extends Command
$this->line('');
$this->info('=== وضعیت ارسال قیمت به کانال ===');
$this->line('دسترسی دیپلوی (price_channel_access): ' . (($info['access'] ?? false) ? 'بله' : 'خیر'));
$this->line('قابلیت روشن (price_channel_enabled): ' . ($info['enabled'] ? 'بله' : 'خیر'));
$this->line('پیام‌رسان‌های انتخاب‌شده: ' . (implode(', ', $info['selected_messengers']) ?: '— (خالی)'));
$this->line('حداقل فاصله ارسال (ثانیه): ' . $info['min_seconds']);
@@ -79,6 +80,10 @@ class PriceChannelTest extends Command
{
$blocked = false;
if (! ($info['access'] ?? false)) {
$this->warn('⚠ price_channel_access خاموش است — در تنظیمات پیشرفته روشنش کن.');
$blocked = true;
}
if (! $info['enabled']) {
$this->warn('⚠ price_channel_enabled خاموش است — روشنش کن.');
$blocked = true;