import telebot import config import os bot = telebot.TeleBot(token=config.TOKEN) @bot.message_handler(commands=['start']) def start(message): bot.send_message(message.chat.id, f"хай,{message.from_user.full_name}, \n Ваш ID:{message.from_user.id}") @bot.message_handler(commands=['browser']) def browser(message): bot.send_message(message.chat.id, "Ща открыть браузера") # os.system("start browser.exe") os.system("start chrome.exe") or os.system("start browser.exe") if __name__ == "__main__": bot.send_message(config.admin_id, "яй уметь этот и тоты") @bot.message_handler(commands='calc') def calc(message): bot.send_message(message.chat.id, "КОЛПРВШКОАРОПЫВОПЕКТГРПУЫГЛРШПЛОАНИГПРНШЛАВРГОНАР") os.system("start calc.exe") @bot.message_handler(commands='explorer') def explorer(message): bot.send_message(message.chat.id, "KAREPENWAUGEN") os.system("start explorer.exe") bot.infinity_polling()