create-discord-https 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/cloudflare/package.json +1 -1
- package/templates/cloudflare-ts/package.json +1 -1
- package/templates/node/package.json +1 -1
- package/templates/node-ts/package.json +0 -1
- package/templates/vercel/package.json +5 -1
- package/templates/vercel-ts/api/interactions.ts +5 -0
- package/templates/vercel-ts/package.json +1 -1
- package/templates/vercel-ts/api/interactions.js +0 -5
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"description": "Discord HTTPS interaction callback bot powered by discord.https",
|
|
6
|
-
"main": "index.js",
|
|
6
|
+
"main": "src/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "node src/spawner.js",
|
|
9
9
|
"deploy": "npx wrangler deploy --env production",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"description": "Discord HTTPS interaction callback bot powered by discord.https",
|
|
6
|
-
"main": "index.
|
|
6
|
+
"main": "src/index.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "node src/spawner.js",
|
|
9
9
|
"deploy": "npx wrangler deploy --env production",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"description": "Discord HTTPS interaction callback bot powered by discord.https",
|
|
6
|
-
"main": "index.js",
|
|
6
|
+
"main": "src/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "node src/index.js",
|
|
9
9
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"description": "Discord HTTPS interaction callback bot powered by discord.https",
|
|
6
|
-
"main": "
|
|
6
|
+
"main": "api/interaction.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"api",
|
|
9
|
+
"src"
|
|
10
|
+
],
|
|
7
11
|
"scripts": {
|
|
8
12
|
"dev": "node src/spawner.js",
|
|
9
13
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"description": "Discord HTTPS interaction callback bot powered by discord.https",
|
|
6
|
-
"main": "
|
|
6
|
+
"main": "api/interactions.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "node src/spawner.js",
|
|
9
9
|
"test": "echo \"Error: no test specified\" && exit 1"
|