que es tequila was ist liebe? Created by @stepanz If you like this bot, please rate it at: https://telegram.me/storebot?start=whatisbot """ return chat.reply(text) @bot.default def default(chat, message): return wiki(chat, message["text"]) async def main(): global redis host = os.environ.get('REDIS_HOST', 'localhost') redis = await aioredis.create_redis((host, 6379), encoding="utf-8") await bot.loop() if __name__ == '__main__': logging.basicConfig(level=logging.INFO) loop = asyncio.get_event_loop() try: loop.run_until_complete(main()) except KeyboardInterrupt: bot.stop()
who is Nikola Tesla? что такое счастье что за черт? que es tequila was ist liebe? o que é amor? """ return chat.reply(text) @bot.default def default(chat, message): return wiki(chat, message["text"]) async def main(): global redis host = os.environ.get('REDIS_HOST', 'localhost') redis = await aioredis.create_redis((host, 6379), encoding="utf-8") await bot.loop() if __name__ == '__main__': logging.basicConfig(level=logging.INFO) loop = asyncio.get_event_loop() try: loop.run_until_complete(main()) except KeyboardInterrupt: bot.stop()