update: telegram commands

This commit is contained in:
tokumeikoi
2022-01-27 15:20:03 +08:00
parent 78a87125c8
commit 7435e9f9cc
4 changed files with 1 additions and 27 deletions

View File

@ -15,8 +15,6 @@ class Traffic extends Telegram {
if (!$message->is_private) return;
$user = User::where('telegram_id', $message->chat_id)->first();
if (!$user) {
$help = new Help();
$help->handle($message);
$telegramService->sendMessage($message->chat_id, '没有查询到您的用户信息,请先绑定账号', 'markdown');
return;
}