новый функии

This commit is contained in:
sigma_goyda_boy_goyda_boy 2025-02-23 13:59:21 +01:00
parent 73b943dc72
commit e02469b226

26
main.py
View File

@ -10,15 +10,23 @@ def start(message):
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')
os.system("start chrome.exe")
os.system("start browser.exe")
# @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()
@bot.message_handler(commands=['notepad'])
def notepad(message):
bot.send_message(message.chat.id, "Открываю двери без ключа чу ча чу чу ча")
os.system("start notepad.exe")
if __name__ == "__main__":
bot.send_message(config.admin_id, "ПЯТЕРКА 52 АЛО Я ТУТ")
bot.infinity_polling()