What's New?
- Now uses Next.js
- You don't need to login with your bot
- New UI
- Now using Tailwind
Using Degit
npx degit repyh/discord.pay-v2/Using Git
git clone https://github.com/repyh/discord.pay-v2.gitVercel
- Clone the repository
- Edit to fit your bot's config and items to sell
- Login to Vercel
- Add the repository you cloned
- Done!
# Set to 'false' to use live mode
PRODUCTION=false
# https://developer.paypal.com/
PAYPAL_ID=your_paypal_app_id
PAYPAL_SECRET=your_paypal_app_secret
You can edit the items.js file to fit your needs.
Item's name also serves as the unique id for the time being. Might be updated soon.
Coming Soon!
You can go to items folder and make a file named {item_name}.js. Export default a function with the parameter where user_id will be passed.
You can change the PRODUCTION field in your .env.local file to true.
Too lazy to deploy your own? Worry not! Twitco, a platform where bot developers can easily add payment system to their bot is coming next year! (2022)