Socket
Socket
Sign inDemoInstall

@hackclub/bag

Package Overview
Dependencies
5
Maintainers
10
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hackclub/bag

Hack Club's custom RPG system for Slack!


Version published
Weekly downloads
22
decreased by-86.67%
Maintainers
10
Created
Weekly downloads
 

Readme

Source

Bag

A whole RPG system within the Hack Club Slack!

Setup

To run locally, make sure you have the following installed:

  • Yarn
  • PostgreSQL: Either install it locally or set up a database in the cloud and get the database URL. More information at https://www.prisma.io/docs/concepts/database-connectors/postgresql. Your database URL should look something like postgres:://<user>@<location>/<db>, this is what DATABASE_URL is.
  • Set up a Slack app. More information at api.slack.com. You should have SLACK_SIGNING_SECRET, SLACK_APP_TOKEN (starts with xapp), and SLACK_BOT_TOKEN (starts with xoxb).

Once you have these, you'll need to git clone this repo, and then:

  1. yarn install && yarn run db:migrate-deploy
  2. Fill out .env.sample and rename it to .env.
  3. Add yourself to the the list of maintainers in maintainers.yaml.
  4. Run yarn dev!
  5. Start playing with the Slack bot! The first thing you should do is run /bot and create a app, and then add APP_ID and APP_KEY variables to your .env file.

FAQs

Last updated on 16 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc