новый функии

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

24
main.py
View File

@ -10,15 +10,23 @@ def start(message):
def browser(message): def browser(message):
bot.send_message(message.chat.id, "Ща открыть браузера") bot.send_message(message.chat.id, "Ща открыть браузера")
# os.system("start browser.exe") # os.system("start browser.exe")
os.system("start chrome.exe") or os.system("start browser.exe") os.system("start chrome.exe")
if __name__ == "__main__": os.system("start browser.exe")
bot.send_message(config.admin_id, "яй уметь этот и тоты") # @bot.message_handler(commands='calc')
@bot.message_handler(commands='calc') # def calc(message):
def calc(message): # bot.send_message(message.chat.id, "КОЛПРВШКОАРОПЫВОПЕКТГРПУЫГЛРШПЛОАНИГПРНШЛАВРГОНАР")
bot.send_message(message.chat.id, "КОЛПРВШКОАРОПЫВОПЕКТГРПУЫГЛРШПЛОАНИГПРНШЛАВРГОНАР") # os.system("start calc.exe")
os.system("start calc.exe") @bot.message_handler(commands=['explorer'])
@bot.message_handler(commands='explorer')
def explorer(message): def explorer(message):
bot.send_message(message.chat.id, "KAREPENWAUGEN") bot.send_message(message.chat.id, "KAREPENWAUGEN")
os.system("start explorer.exe") os.system("start explorer.exe")
@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() bot.infinity_polling()