diff --git a/machine/__about__.py b/machine/__about__.py index 7494cefe..6d375e87 100644 --- a/machine/__about__.py +++ b/machine/__about__.py @@ -14,7 +14,7 @@ __description__ = "A sexy, simple, yet powerful and extendable Slack bot" __uri__ = "https://github.com/DandyDev/slack-machine" -__version_info__ = (0, 20, 2) +__version_info__ = (0, 20, 3) __version__ = ".".join(map(str, __version_info__)) __author__ = "Daan Debie" diff --git a/machine/plugins/base.py b/machine/plugins/base.py index 80e72077..8c7d60a8 100644 --- a/machine/plugins/base.py +++ b/machine/plugins/base.py @@ -114,7 +114,7 @@ async def say( .. _chat.postMessage: https://api.slack.com/methods/chat.postMessage .. _chat.postEphemeral: https://api.slack.com/methods/chat.postEphemeral """ - return await self._client.send_webapi( + return await self._client.send( channel, text, attachments, thread_ts, ephemeral_user ) diff --git a/requirements.txt b/requirements.txt index cddd8d8b..ff377f30 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,5 @@ apscheduler==3.6.1 async_lru==1.0.2 asyncblink==0.3.2 dill==0.3.1.1 -loguru==0.3.2 +loguru==0.5.1 slackclient==2.5.0