You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Nick!
This looks like an awesome library and I am so excited to use it to update our current slackbot.
I've followed instructions as suggested and am running into environmental/dependency issues getting the basic bot script to work. This is the error I'm getting:
Traceback (most recent call last):
File "<REDACTED>/bot.py", line 2, in <module>
from tangerine import Tangerine
File "<VENV_REDACTED>/lib/python3.7/site-packages/tangerine/__init__.py", line 10, in <module>
from .bot import Tangerine
File <VENV_REDACTED>/lib/python3.7/site-packages/tangerine/bot.py", line 17, in <module>
from slackclient import SlackClient
ModuleNotFoundError: No module named 'slackclient'
I think I figured it out. It turns out recent versions of the slackclient is installed in the slack folder.
The change I made was to bot.py in tangerine on line 17 replacing it with from slack import WebClient and updating line 47 to reflect the WebClient.
Actually its not completely solved. The version of Slackclient that is in the Pipfile has deprecated the rtm_read and rtm_send_message methods to be consistent with the RTM Slack API. If you have any fixes or suggestions, I'd love to hear them!
Hi Nick!
This looks like an awesome library and I am so excited to use it to update our current slackbot.
I've followed instructions as suggested and am running into environmental/dependency issues getting the basic bot script to work. This is the error I'm getting:
And here is my Pipfile:
And it shows the Pipfile.lock reflects the slackclient.
The text was updated successfully, but these errors were encountered: