import projectZ
client = projectZ.Client()
client.login(email='email', password='password')
import projectZ
client = projectZ.Client()
client.login(email='email', password='password')
@client.event("on_text_message")
def message(data):
print(data.json)
import projectZ
import asyncio
client = projectZ.AsyncClient()
async def main():
await client.login(email='email', password='password')
if __name__ == '__main__':
loop = asyncio.get_event_loop()
loop.run_until_complete(main())