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-0.2.8.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a7e2bde0a0ef0d209abff8d941e7ddfbec6c5b0c760e62d0a937a97805d17d4 |
|
MD5 | 6a521353fad900a92756b9c295557b8b |
|
BLAKE2b-256 | d9206e16baa741f1fc7b005543495795c9bd89a4fc865cdf59f0206a25d6a07b |