create-reciple 8.5.2 → 8.6.0

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.
@@ -1,130 +1,130 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- lerna-debug.log*
8
- .pnpm-debug.log*
9
-
10
- # Diagnostic reports (https://nodejs.org/api/report.html)
11
- report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12
-
13
- # Runtime data
14
- pids
15
- *.pid
16
- *.seed
17
- *.pid.lock
18
-
19
- # Directory for instrumented libs generated by jscoverage/JSCover
20
- lib-cov
21
-
22
- # Docs files
23
- docs.json
24
-
25
- # Coverage directory used by tools like istanbul
26
- coverage
27
- *.lcov
28
-
29
- # nyc test coverage
30
- .nyc_output
31
-
32
- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33
- .grunt
34
-
35
- # Bower dependency directory (https://bower.io/)
36
- bower_components
37
-
38
- # node-waf configuration
39
- .lock-wscript
40
-
41
- # Compiled binary addons (https://nodejs.org/api/addons.html)
42
- build/Release
43
-
44
- # Dependency directories
45
- node_modules/
46
- jspm_packages/
47
-
48
- # Snowpack dependency directory (https://snowpack.dev/)
49
- web_modules/
50
-
51
- # TypeScript cache
52
- *.tsbuildinfo
53
-
54
- # Optional npm cache directory
55
- .npm
56
-
57
- # Optional eslint cache
58
- .eslintcache
59
-
60
- # Optional stylelint cache
61
- .stylelintcache
62
-
63
- # Microbundle cache
64
- .rpt2_cache/
65
- .rts2_cache_cjs/
66
- .rts2_cache_es/
67
- .rts2_cache_umd/
68
-
69
- # Optional REPL history
70
- .node_repl_history
71
-
72
- # Output of 'npm pack'
73
- *.tgz
74
-
75
- # Yarn Integrity file
76
- .yarn-integrity
77
-
78
- # dotenv environment variable files
79
- .env
80
- .env.development.local
81
- .env.test.local
82
- .env.production.local
83
- .env.local
84
-
85
- # parcel-bundler cache (https://parceljs.org/)
86
- .cache
87
- .parcel-cache
88
-
89
- # Next.js build output
90
- .next
91
- out
92
-
93
- # Nuxt.js build / generate output
94
- .nuxt
95
- dist
96
-
97
- # Gatsby files
98
- .cache/
99
- # Comment in the public line in if your project uses Gatsby and not Next.js
100
- # https://nextjs.org/blog/next-9-1#public-directory-support
101
- # public
102
-
103
- # vuepress build output
104
- .vuepress/dist
105
-
106
- # vuepress v2.x temp and cache directory
107
- .temp
108
- .cache
109
-
110
- # Serverless directories
111
- .serverless/
112
-
113
- # FuseBox cache
114
- .fusebox/
115
-
116
- # DynamoDB Local files
117
- .dynamodb/
118
-
119
- # TernJS port file
120
- .tern-port
121
-
122
- # Stores VSCode versions used for testing VSCode extensions
123
- .vscode-test
124
-
125
- # yarn v2
126
- .yarn/cache
127
- .yarn/unplugged
128
- .yarn/build-state.yml
129
- .yarn/install-state.gz
130
- .pnp.*
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ lerna-debug.log*
8
+ .pnpm-debug.log*
9
+
10
+ # Diagnostic reports (https://nodejs.org/api/report.html)
11
+ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12
+
13
+ # Runtime data
14
+ pids
15
+ *.pid
16
+ *.seed
17
+ *.pid.lock
18
+
19
+ # Directory for instrumented libs generated by jscoverage/JSCover
20
+ lib-cov
21
+
22
+ # Docs files
23
+ docs.json
24
+
25
+ # Coverage directory used by tools like istanbul
26
+ coverage
27
+ *.lcov
28
+
29
+ # nyc test coverage
30
+ .nyc_output
31
+
32
+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33
+ .grunt
34
+
35
+ # Bower dependency directory (https://bower.io/)
36
+ bower_components
37
+
38
+ # node-waf configuration
39
+ .lock-wscript
40
+
41
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
42
+ build/Release
43
+
44
+ # Dependency directories
45
+ node_modules/
46
+ jspm_packages/
47
+
48
+ # Snowpack dependency directory (https://snowpack.dev/)
49
+ web_modules/
50
+
51
+ # TypeScript cache
52
+ *.tsbuildinfo
53
+
54
+ # Optional npm cache directory
55
+ .npm
56
+
57
+ # Optional eslint cache
58
+ .eslintcache
59
+
60
+ # Optional stylelint cache
61
+ .stylelintcache
62
+
63
+ # Microbundle cache
64
+ .rpt2_cache/
65
+ .rts2_cache_cjs/
66
+ .rts2_cache_es/
67
+ .rts2_cache_umd/
68
+
69
+ # Optional REPL history
70
+ .node_repl_history
71
+
72
+ # Output of 'npm pack'
73
+ *.tgz
74
+
75
+ # Yarn Integrity file
76
+ .yarn-integrity
77
+
78
+ # dotenv environment variable files
79
+ .env
80
+ .env.development.local
81
+ .env.test.local
82
+ .env.production.local
83
+ .env.local
84
+
85
+ # parcel-bundler cache (https://parceljs.org/)
86
+ .cache
87
+ .parcel-cache
88
+
89
+ # Next.js build output
90
+ .next
91
+ out
92
+
93
+ # Nuxt.js build / generate output
94
+ .nuxt
95
+ dist
96
+
97
+ # Gatsby files
98
+ .cache/
99
+ # Comment in the public line in if your project uses Gatsby and not Next.js
100
+ # https://nextjs.org/blog/next-9-1#public-directory-support
101
+ # public
102
+
103
+ # vuepress build output
104
+ .vuepress/dist
105
+
106
+ # vuepress v2.x temp and cache directory
107
+ .temp
108
+ .cache
109
+
110
+ # Serverless directories
111
+ .serverless/
112
+
113
+ # FuseBox cache
114
+ .fusebox/
115
+
116
+ # DynamoDB Local files
117
+ .dynamodb/
118
+
119
+ # TernJS port file
120
+ .tern-port
121
+
122
+ # Stores VSCode versions used for testing VSCode extensions
123
+ .vscode-test
124
+
125
+ # yarn v2
126
+ .yarn/cache
127
+ .yarn/unplugged
128
+ .yarn/build-state.yml
129
+ .yarn/install-state.gz
130
+ .pnp.*
@@ -1,49 +1,49 @@
1
- const { SlashCommandBuilder, ContextMenuCommandBuilder, MessageCommandBuilder } = require('reciple');
2
-
3
- /**
4
- * @type {import('reciple').RecipleModuleData}
5
- */
6
- const data = {
7
- // Supported client versions
8
- versions: ['^8'],
9
-
10
- // Module commands
11
- commands: [
12
- new ContextMenuCommandBuilder()
13
- .setName('test')
14
- .setType('Message')
15
- .setExecute(async ({ interaction }) => {
16
- await interaction.reply(`Hello, world!`);
17
- }),
18
- new MessageCommandBuilder()
19
- .setName('test')
20
- .setDescription('A test command')
21
- .setExecute(async ({ message }) => {
22
- await message.reply(`Hello, world!`);
23
- }),
24
- new SlashCommandBuilder()
25
- .setName('test')
26
- .setDescription('A test command')
27
- .setExecute(async ({ interaction }) => {
28
- await interaction.reply(`Hello, world!`);
29
- })
30
- ],
31
-
32
- // Executed when module is started (Bot is not logged in)
33
- onStart: ({ client }) => {
34
- return true; // Return true when the module is loaded, false if not
35
- },
36
-
37
- // Executed when module is loaded (Bot is logged in)
38
- onLoad: ({ client }) => {
39
- // Return/throw a string or error on load fail
40
- },
41
-
42
-
43
- // Executed when module is unloaded
44
- onUnload: ({ client }) => {
45
- // Return/throw a string or error on unload fail
46
- }
47
- }
48
-
49
- module.exports = data;
1
+ const { SlashCommandBuilder, ContextMenuCommandBuilder, MessageCommandBuilder } = require('reciple');
2
+
3
+ /**
4
+ * @type {import('reciple').RecipleModuleData}
5
+ */
6
+ const data = {
7
+ // Supported client versions
8
+ versions: ['^8'],
9
+
10
+ // Module commands
11
+ commands: [
12
+ new ContextMenuCommandBuilder()
13
+ .setName('test')
14
+ .setType('Message')
15
+ .setExecute(async ({ interaction }) => {
16
+ await interaction.reply(`Hello, world!`);
17
+ }),
18
+ new MessageCommandBuilder()
19
+ .setName('test')
20
+ .setDescription('A test command')
21
+ .setExecute(async ({ message }) => {
22
+ await message.reply(`Hello, world!`);
23
+ }),
24
+ new SlashCommandBuilder()
25
+ .setName('test')
26
+ .setDescription('A test command')
27
+ .setExecute(async ({ interaction }) => {
28
+ await interaction.reply(`Hello, world!`);
29
+ })
30
+ ],
31
+
32
+ // Executed when module is started (Bot is not logged in)
33
+ onStart: ({ client }) => {
34
+ return true; // Return true when the module is loaded, false if not
35
+ },
36
+
37
+ // Executed when module is loaded (Bot is logged in)
38
+ onLoad: ({ client }) => {
39
+ // Return/throw a string or error on load fail
40
+ },
41
+
42
+
43
+ // Executed when module is unloaded
44
+ onUnload: ({ client }) => {
45
+ // Return/throw a string or error on unload fail
46
+ }
47
+ }
48
+
49
+ module.exports = data;
@@ -1,18 +1,18 @@
1
- {
2
- "name": "reciple-app",
3
- "type": "commonjs",
4
- "private": true,
5
- "scripts": {
6
- "start": "reciple -c reciple.cjs",
7
- "dev": "nodemon --ext js,mjs,cjs,json --exec \"reciple -c reciple.cjs\" --signal SIGHUP"
8
- },
9
- "dependencies": {
10
- "@reciple/core": "RECIPLE_CORE",
11
- "discord.js": "DISCORDJS",
12
- "reciple": "RECIPLE"
13
- },
14
- "devDependencies": {
15
- "@types/node": "TYPES_NODE",
16
- "nodemon": "NODEMON"
17
- }
1
+ {
2
+ "name": "reciple-app",
3
+ "type": "commonjs",
4
+ "private": true,
5
+ "scripts": {
6
+ "start": "reciple -c reciple.cjs",
7
+ "dev": "nodemon --ext js,mjs,cjs,json --exec \"reciple -c reciple.cjs\" --signal SIGHUP"
8
+ },
9
+ "dependencies": {
10
+ "@reciple/core": "RECIPLE_CORE",
11
+ "discord.js": "DISCORDJS",
12
+ "reciple": "RECIPLE"
13
+ },
14
+ "devDependencies": {
15
+ "@types/node": "TYPES_NODE",
16
+ "nodemon": "NODEMON"
17
+ }
18
18
  }
@@ -1,4 +1,4 @@
1
- {
2
- "name": "Javascript - CommonJs",
3
- "language": "Javascript"
1
+ {
2
+ "name": "Javascript - CommonJs",
3
+ "language": "Javascript"
4
4
  }
@@ -1,133 +1,133 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- lerna-debug.log*
8
- .pnpm-debug.log*
9
-
10
- # Diagnostic reports (https://nodejs.org/api/report.html)
11
- report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12
-
13
- # Runtime data
14
- pids
15
- *.pid
16
- *.seed
17
- *.pid.lock
18
-
19
- # Directory for instrumented libs generated by jscoverage/JSCover
20
- lib-cov
21
-
22
- # Docs files
23
- docs.json
24
-
25
- # Coverage directory used by tools like istanbul
26
- coverage
27
- *.lcov
28
-
29
- # nyc test coverage
30
- .nyc_output
31
-
32
- # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33
- .grunt
34
-
35
- # Bower dependency directory (https://bower.io/)
36
- bower_components
37
-
38
- # node-waf configuration
39
- .lock-wscript
40
-
41
- # Compiled binary addons (https://nodejs.org/api/addons.html)
42
- build/Release
43
-
44
- # Dependency directories
45
- node_modules/
46
- jspm_packages/
47
-
48
- # Snowpack dependency directory (https://snowpack.dev/)
49
- web_modules/
50
-
51
- # TypeScript cache
52
- *.tsbuildinfo
53
-
54
- # Optional npm cache directory
55
- .npm
56
-
57
- # Optional eslint cache
58
- .eslintcache
59
-
60
- # Optional stylelint cache
61
- .stylelintcache
62
-
63
- # Microbundle cache
64
- .rpt2_cache/
65
- .rts2_cache_cjs/
66
- .rts2_cache_es/
67
- .rts2_cache_umd/
68
-
69
- # Optional REPL history
70
- .node_repl_history
71
-
72
- # Output of 'npm pack'
73
- *.tgz
74
-
75
- # Yarn Integrity file
76
- .yarn-integrity
77
-
78
- # dotenv environment variable files
79
- .env
80
- .env.development.local
81
- .env.test.local
82
- .env.production.local
83
- .env.local
84
-
85
- # parcel-bundler cache (https://parceljs.org/)
86
- .cache
87
- .parcel-cache
88
-
89
- # Next.js build output
90
- .next
91
- out
92
-
93
- # Nuxt.js build / generate output
94
- .nuxt
95
- dist
96
-
97
- # Gatsby files
98
- .cache/
99
- # Comment in the public line in if your project uses Gatsby and not Next.js
100
- # https://nextjs.org/blog/next-9-1#public-directory-support
101
- # public
102
-
103
- # vuepress build output
104
- .vuepress/dist
105
-
106
- # vuepress v2.x temp and cache directory
107
- .temp
108
- .cache
109
-
110
- # Serverless directories
111
- .serverless/
112
-
113
- # FuseBox cache
114
- .fusebox/
115
-
116
- # DynamoDB Local files
117
- .dynamodb/
118
-
119
- # TernJS port file
120
- .tern-port
121
-
122
- # Stores VSCode versions used for testing VSCode extensions
123
- .vscode-test
124
-
125
- # yarn v2
126
- .yarn/cache
127
- .yarn/unplugged
128
- .yarn/build-state.yml
129
- .yarn/install-state.gz
130
- .pnp.*
131
-
132
- # Output files
133
- modules
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ lerna-debug.log*
8
+ .pnpm-debug.log*
9
+
10
+ # Diagnostic reports (https://nodejs.org/api/report.html)
11
+ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12
+
13
+ # Runtime data
14
+ pids
15
+ *.pid
16
+ *.seed
17
+ *.pid.lock
18
+
19
+ # Directory for instrumented libs generated by jscoverage/JSCover
20
+ lib-cov
21
+
22
+ # Docs files
23
+ docs.json
24
+
25
+ # Coverage directory used by tools like istanbul
26
+ coverage
27
+ *.lcov
28
+
29
+ # nyc test coverage
30
+ .nyc_output
31
+
32
+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33
+ .grunt
34
+
35
+ # Bower dependency directory (https://bower.io/)
36
+ bower_components
37
+
38
+ # node-waf configuration
39
+ .lock-wscript
40
+
41
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
42
+ build/Release
43
+
44
+ # Dependency directories
45
+ node_modules/
46
+ jspm_packages/
47
+
48
+ # Snowpack dependency directory (https://snowpack.dev/)
49
+ web_modules/
50
+
51
+ # TypeScript cache
52
+ *.tsbuildinfo
53
+
54
+ # Optional npm cache directory
55
+ .npm
56
+
57
+ # Optional eslint cache
58
+ .eslintcache
59
+
60
+ # Optional stylelint cache
61
+ .stylelintcache
62
+
63
+ # Microbundle cache
64
+ .rpt2_cache/
65
+ .rts2_cache_cjs/
66
+ .rts2_cache_es/
67
+ .rts2_cache_umd/
68
+
69
+ # Optional REPL history
70
+ .node_repl_history
71
+
72
+ # Output of 'npm pack'
73
+ *.tgz
74
+
75
+ # Yarn Integrity file
76
+ .yarn-integrity
77
+
78
+ # dotenv environment variable files
79
+ .env
80
+ .env.development.local
81
+ .env.test.local
82
+ .env.production.local
83
+ .env.local
84
+
85
+ # parcel-bundler cache (https://parceljs.org/)
86
+ .cache
87
+ .parcel-cache
88
+
89
+ # Next.js build output
90
+ .next
91
+ out
92
+
93
+ # Nuxt.js build / generate output
94
+ .nuxt
95
+ dist
96
+
97
+ # Gatsby files
98
+ .cache/
99
+ # Comment in the public line in if your project uses Gatsby and not Next.js
100
+ # https://nextjs.org/blog/next-9-1#public-directory-support
101
+ # public
102
+
103
+ # vuepress build output
104
+ .vuepress/dist
105
+
106
+ # vuepress v2.x temp and cache directory
107
+ .temp
108
+ .cache
109
+
110
+ # Serverless directories
111
+ .serverless/
112
+
113
+ # FuseBox cache
114
+ .fusebox/
115
+
116
+ # DynamoDB Local files
117
+ .dynamodb/
118
+
119
+ # TernJS port file
120
+ .tern-port
121
+
122
+ # Stores VSCode versions used for testing VSCode extensions
123
+ .vscode-test
124
+
125
+ # yarn v2
126
+ .yarn/cache
127
+ .yarn/unplugged
128
+ .yarn/build-state.yml
129
+ .yarn/install-state.gz
130
+ .pnp.*
131
+
132
+ # Output files
133
+ modules