seven il y a 5 jours
Parent
commit
e7d29dfb2c
1 fichiers modifiés avec 7 ajouts et 6 suppressions
  1. 7 6
      app/Http/Controllers/api/Home.php

+ 7 - 6
app/Http/Controllers/api/Home.php

@@ -85,12 +85,13 @@ class Home extends Controller
         try {
             $telegram = new Api(config('services.telegram.token'));
             $commands = [
-                new BotCommand(['command' => 'room', 'description' => '🏠创建房间']),
-                new BotCommand(['command' => 'online', 'description' => '🟢在线房间']),
-                new BotCommand(['command' => 'topup', 'description' => '🔋账户管理']),
-                new BotCommand(['command' => 'withdraw', 'description' => '🏦提现管理']),
-                new BotCommand(['command' => 'tutorial', 'description' => '💡教程帮助']),
-                new BotCommand(['command' => 'record', 'description' => '🏆我的战绩']),
+                new BotCommand(['command' => 'start', 'description' => '🤖开始使用']),
+                // new BotCommand(['command' => 'room', 'description' => '🏠创建房间']),
+                // new BotCommand(['command' => 'online', 'description' => '🟢在线房间']),
+                // new BotCommand(['command' => 'topup', 'description' => '🔋账户管理']),
+                // new BotCommand(['command' => 'withdraw', 'description' => '🏦提现管理']),
+                // new BotCommand(['command' => 'tutorial', 'description' => '💡教程帮助']),
+                // new BotCommand(['command' => 'record', 'description' => '🏆我的战绩']),
             ];
             $telegram->setMyCommands(['commands' => $commands]);
         } catch (TelegramSDKException $e) {