Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: MessagingClient.send_webapi -> .send #9

Merged
merged 1 commit into from
Aug 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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