text: # -*- coding: utf-8 -*-
  #!/bin/env python3
  # 194-67-90-149
  import os, sys
  import time
  import io
  import getopt
  import subprocess
  import time
  import signal
  import yaml
  import requests
  
  
  
  os.system('cls')
  re = "\033[1;31m"
  gr = "\033[1;32m"
  cy="\033[1;36m"
  
  logo = (f"""
            _             __         {re}___       __{cy}
       ____(_)______ ____/ /__ _____{re}/ _ )___  / /_{cy}
      / __/ / __/ _ `/ _  / _ `/___{re}/ _  / _ \/ __/{cy}
      \__/_/\__/\_,_/\_,_/\_,_/   {re}/____/\___/\__/{cy}
  
      ----------Telegram-Bot-PhotoHosting-----------
  
  
  
      """)
  re = "\033[1;31m"
  gr = "\033[1;32m"
  cy = "\033[1;36m"
  print(logo)
  print(f"""
                 {gr}+-+-+-+-+-+ +-+-+-+-+{cy}
                 {gr}|T|o|k|e|n| |B|o|t|a|{cy}
                 {gr}+-+-+-+-+-+ +-+-+-+-+{cy}
   """)
  token = input('⏩⏩⏩ ')
  os.system('cls')
  print(logo)
  message_bot = 'Начать беседу со мной'
  #message_bot = input(f"{re}\nТекст вспомогательной кнопки /start: ")
  os.system('cls')
  
  data = {'bot': {'token': token,
                  'parse_mode': 'html'}, 'executor': {'skip_updates':
                  True}, 'modules': ['handlers.main', 'handlers.errors'],
                  'log_ignore': ['aiogram', 'asyncio', 'aiogram.Middleware'],
                  'commands': {'start': message_bot}}
  
  with io.open('config.yaml', 'w', encoding='utf8') as outfile:
      yaml.dump(data, outfile, default_flow_style=False, allow_unicode=True)
      import requests
  
  MethodGetMe = (f'''https://api.telegram.org/bot{token}/GetMe''')
  response = requests.post(MethodGetMe)
  tttm = response.json()
  
  
  id_us = (tttm['result']['id'])
  first_name = (tttm['result']['first_name'])
  username = (tttm['result']['username'])
  os.system('del git/')
  
  
  os.system('git init')
  
  os.system('git add .')
  
  os.system('git config --global user.email "you@example.com"')
  
  os.system('git config --global user.name "Your Name"')
  
  os.system('git commit -m "den" ')
  
  os.system('heroku create')
  
  os.system('git remote -v')
  time.sleep(2)
  os.system('git push heroku')
  time.sleep(3)
  os.system('heroku ps:scale worker=1')
  
  print(logo)
  
  print(f"""
  
              ---------------------------------
                 🆔 Твой id: {id_us}
              ---------------------------------
                 👤 Имя Бота: {first_name}
              ---------------------------------
                 🗣 username: {username}
              ---------------------------------
                🌐 https://t.me/{username}
              ---------------------------------
              ******* Suport: @Satanasat ******
  """)
  input("Бот Запущен")
  