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
No existing way to get the Team name by the bot? #117
Comments
For now it's not available, but it shouldn't be that hard to implement, the information is available in the JSON data provided during connection. I'll set it as an improvement and will handle that |
Uhh I'd love to issue a PR fixing the issue. Where should I make the On 30-Aug-2016 8:24 PM, "Benoit Corne" notifications@github.com wrote:
|
Oh, my bad, I've browsed the code and I think it is already available: you can get it by retrieving the team properties in your SlackSession instance with getTeam() and the team has the getDomain() method which should give you the teamname value. Let me know if this is the data you're looking for. Best regards, Benoit |
@bcorne I don't see any getTeam() method from my I analysed the code too and I see this. However I think it is not made accessible by the API. I wonder why? |
This was added by the end of June so no release was made available since. You can wait for the next release (I don't have any ETA) or use the last snapshot using jitpack |
@bcorne Maybe you could close this issue after the next release then :) |
sure |
@bcorne BTW the tool I built using your library is live! Check it out. I've given you credits too :) https://github.com/bholagabbar/irackbot . a star would be great :D |
That looks nice 👍 , I've starred it of course. |
I did not find any way to get the team associated with the bot. Like teamname.slack.com. Is there any way to do this currently?
The text was updated successfully, but these errors were encountered: