-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
25 lines (25 loc) · 1.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"name": "oauth",
"version": "1.0.0",
"description": "1: Pull Repo<br/>\r 2: Take index.php.example and insert into PMSF index.php file at line ##. If your File directory does not match what is in the example, you will need to alter it.<br/>\r 3: Create Discord bot in Discord Developer Console (or use existing bot), and ensure it has administrative privileges in your server (assign roles and manage members minimum).<br/>\r 4: Fill out config.ini.example and remove '.example'.<br/>\r 5: Add redirect_url from your completed config.ini to your Discord Bot.<br/>\r 6: Create a webhook in Stripe, add the following events to the stripe webook, point to https://yourmapurl.com/webhook (If you want console and discord logs):\r - charge.refunded, customer.deleted, charge.succeeded, customer.subscription.created, customer.subscription.deleted, customer.subscription.updated, customer.updated, invoice.payment_failed<br\\>\r 7: Start the bot with PM2 `pm2 start wall.js`. Read the PM2 docs to have the bot automatically start as a service in the event of a power failure, restart, or other issue.",
"main": "wall.js",
"dependencies": {
"axios": "^0.19.2",
"cookie-session": "^1.4.0",
"discord-oauth2": "^2.2.0",
"discord.js": "^12.2.0",
"ejs": "^3.1.3",
"express": "^4.17.1",
"ini": "^1.3.5",
"moment": "^2.26.0",
"mysql": "^2.18.1",
"ontime": "0.0.6",
"stripe": "^8.60.0"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}