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.7.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc2a76110e995067a786962de3e22faf9dcc1397c72d9070805a77a219427d26 |
|
MD5 | 0751b1ecfd46cf5cecd3c74979c7f077 |
|
BLAKE2b-256 | 2ed6e96ac7eb7c4ad2e9720f7da457b77def270d9024fa8068c36e94c9df9614 |