A python package to interact with messaging platform.
Project description
|
|
|
A python package to listen to messaging platforms, such as discord, telegram and matrix |
How to use it
from iamlistening import Listener
listener = Listener()
task = asyncio.create_task(listener.run_forever())
while True:
try:
msg = await listener.get_latest_message()
if msg:
print(f"Frasier👂: {msg}"
except Exception as error:
print(error)
await task
Example
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iamlistening-1.0.0.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 795a1a69e80c8edd552944177b81068f1222fd24a3fa96f44816c8c4293f723a |
|
MD5 | 7238f4ed3e6b914d64158461c65fec37 |
|
BLAKE2b-256 | 372c341971b6eb3fdf39ade011f3937d75f4dc514cf55e4369c78381a5419efe |