|
@@ -85,12 +85,13 @@ class Home extends Controller
|
|
try {
|
|
try {
|
|
$telegram = new Api(config('services.telegram.token'));
|
|
$telegram = new Api(config('services.telegram.token'));
|
|
$commands = [
|
|
$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]);
|
|
$telegram->setMyCommands(['commands' => $commands]);
|
|
} catch (TelegramSDKException $e) {
|
|
} catch (TelegramSDKException $e) {
|