Skip to content

frezik/Bodgery-Slack-Gaming

 
 

Repository files navigation

Bodgery-Slack-Gaming

A Slackbot for managing D&D character sheets, and allowing die rolls.

Setup

  1. Run "pip3 install -r requirements.txt" to install prereqs
  2. Copy config.yaml.example to config.yaml
  3. Go to https://api.slack.com/apps?new_app=1 to create a new app
  4. Add a 'Bots' feature type
  5. Put in the name and display name
  6. Go to "Basic Information" in the sidebar
  7. Do "Install your app to your workspace"
  8. Go to "OAuth Tokens"
  9. Set the Bot User OAuth Token in the "slack_bot_token" key in the config
  10. Go back to "Basic Information" and find the "App Credentials" section
  11. Set the Signing Secret in the "slack_signing_secret" key in the config
  12. Set your assigned port number in the "port" key in the config
  13. Start your server with: python3 bot.py
  14. Back in the Slack App Manager, go to the "Basic Information" page
  15. Click "Add features and functionality", and add "Event Subscriptions"
  16. Turn it on, and set the URL to: https://XXXX.shop.thebodgery.org/slack/events Replacing 'XXXX' with your assigned URL prefix
  17. Under "Subscribe to Bot Events", set "app_mention"
  18. Hit "Save Changes"

About

a Slackbot for managing D&D character sheets, and allowing die rolls.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Shell 0.7%