Олег, сделал как вы сказали,
Traceback (most recent call last):
File "D:\teleBOT\telebot.py", line 44, in
dp.add_handler(CommandHandler('/address', address))
File "C:\Users\Acer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\telegram\ext\commandhandler.py", line 162, in __init__
raise ValueError('Command is not a valid bot command')
ValueError: Command is not a valid bot command
Traceback (most recent call last):
File "D:\teleBOT\telebot.py", line 44, in
dp.add_handler(CommandHandler('Работа', работа))
File "C:\Users\Acer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\telegram\ext\commandhandler.py", line 162, in __init__
raise ValueError('Command is not a valid bot command')
ValueError: Command is not a valid bot command
Traceback (most recent call last):
File "D:\teleBOT\telebot.py", line 44, in
dp.add_handler(CommandHandler('/address', address))
File "C:\Users\Acer\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\telegram\ext\commandhandler.py", line 162, in __init__
raise ValueError('Command is not a valid bot command')
ValueError: Command is not a valid bot command