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.1.0.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for iamlistening-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80faaab79c800859db5e2aa875d704de46af89ca541d60847ebac61d66e5c537 |
|
MD5 | 19bd2d8ff1a25919fa9fbb28cb2e5b76 |
|
BLAKE2b-256 | 712c4d57cebcf084a61e55396756355ab290fa4c967d69753f2ae2a00c9aac5e |