superstashed / medusa-stonkers

Engage with your customers through this helpful Discord bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy on Railway

medusa-stonkers

Medusa Hackathon 2022

About

Participants

Stefan - @stefa-n
Feely - @Feely3007
Campake - @penktastal

Description

Stonkers brings shop owners closer to their customers by providing an integration between Discord & Medusajs

Preview

https://twitter.com/stef4n24/status/1577641389797564417

https://twitter.com/stef4n24/status/1578824627161559040

https://twitter.com/stef4n24/status/1580976701764354048

Set up Project

Prerequisites

Before you start with the tutorial make sure you have

  • Node.js v16.9.0 or greater installed on your machine
  • Medusa fully set up

Install Project

  1. Clone the repository:
git clone https://github.com/superstashed/medusa-stonkers
  1. Configuration: Change the configuration to your liking.

  2. Create a MySQL table called discord with:

  • column called discord of type BIGINT
  • column called cookie of type TEXT
  1. Change directory and install dependencies:
cd medusa-stonkers
npm install
  1. Run!
node .

Resources

Notes

  • If you'd like to save tickets (change it in config.json) make sure you have enabled the "Message Content" Intent in your Discord Developer Portal under the "Bot" category

About

Engage with your customers through this helpful Discord bot

License:MIT License


Languages

Language:JavaScript 98.7%Language:HTML 1.3%