seven 5 일 전
부모
커밋
e7d29dfb2c
1개의 변경된 파일7개의 추가작업 그리고 6개의 파일을 삭제
  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) {