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.1.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b0c3c125ce0ece033883de943b92d2a4aa1c22b41eabd5be94655cfb64a41e7 |
|
MD5 | 70582e15dd8195f9a25aebec83661318 |
|
BLAKE2b-256 | 86fec64ede270396f2a4f4408c8b9313515ad501bf9efa15e6c92f478bfedde3 |