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

Adding Beep Boop multi-team support and fixing a few error cases #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

selfcontained
Copy link

I added the ability to run this bot as a multi-team bot on Beep Boop by wiring in the beepboop-botkit module. As a multi-team bot it allows you to make it public and easy for anyone to add directly to their team via an "Add to Slack" button. More details on what's happening with the beepboop-botkit module can be found here, but in essence, instead of expecting a SLACK_TOKEN when the bot starts up, it receives messages over a socket connection to a Beep Boop service when teams add/remove the bot. This allows your single bot process to handle many teams, and also allows Beep Boop to scale your bot to multiple processes if needed.

I left in the ability to run in single team mode as that's sometimes useful for development, or in case others that fork this want that functionality.

  • Also fixed a few error cases I found as I tried some addresses that don't return results.
  • Added support for direct messages to the bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant