def header(self, chat):
    xx = requests.get(url=('https://api.hackertarget.com/httpheaders/?q=' + self.host))
    bot.sendMessage(chat, xx.text)
def header(self, chat):
    xx = requests.get(url=('https://api.hackertarget.com/httpheaders/?q=' + self.host))
    bot.sendMessage(chat, xx.text)