ErinMorelli / em-slack-roll

Roll some dice on Slack.
https://slack-roll.herokuapp.com
MIT License
8 stars 2 forks source link

/roll doesn't appear to work in private channels #2

Closed Colbydude closed 8 years ago

Colbydude commented 8 years ago

Heya, tried installing this in my company's Slack chat, but /roll refuses to work within private channels. It will work with normal channels and private messages, though.

It returns the following 500 error when used in a private channel:

<DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.</p>

Let me know if there's any additional information I can provide.

ErinMorelli commented 8 years ago

Hi @Colbydude - you need to invite the @roll_bot (EM Slack Roll) bot to join your private channel otherwise it can't post the roll results and you will receive that error. I've pushed out an update that will give more useful error messages in this case - let me know if for some reason that doesn't work for you. Thanks!

Colbydude commented 8 years ago

Ah, got it working! Thanks for the clarification!