info: | slacker wrapper for asyncio |
---|
!!!The library is not maintained!!!
Please use the official client: https://github.com/slackapi/python-slackclient
pip install aioslacker
import asyncio
from aioslacker import Slacker
TOKEN = 'xxxxx'
async def go():
async with Slacker(TOKEN) as slack:
await slack.chat.post_message('#general', 'Hello fellow slackers!')
loop = asyncio.get_event_loop()
loop.run_until_complete(go())
loop.close()
The library was donated by Ocean S.A.
Thanks to the company for contribution.