Skip to content

Commit

Permalink
bugfix: MessagingClient.send_webapi -> .send (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
pirogoeth authored Aug 17, 2020
1 parent 7324b81 commit 1e91401
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion machine/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion machine/plugins/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1e91401

Please sign in to comment.