reciple 7.1.5 → 7.1.6

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/static/config.yml +12 -8
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Reciple is a Discord.js handler",
4
4
  "homepage": "https://reciple.js.org/docs/reciple",
5
5
  "license": "GPL-3.0",
6
- "version": "7.1.5",
6
+ "version": "7.1.6",
7
7
  "main": "./bin/index.js",
8
8
  "module": "./bin/esm.mjs",
9
9
  "types": "./bin/index.d.ts",
@@ -37,7 +37,7 @@
37
37
  "README.md"
38
38
  ],
39
39
  "dependencies": {
40
- "@reciple/client": "^7.0.12",
40
+ "@reciple/client": "^7.1.0",
41
41
  "@types/prompts": "^2.4.3",
42
42
  "chalk": "4.1.2",
43
43
  "commander": "^10.0.0",
@@ -61,5 +61,5 @@
61
61
  "optionalDependencies": {
62
62
  "@weichwarenprojekt/ts-importer": "^0.1.5"
63
63
  },
64
- "gitHead": "f94548a44ea15b986e3b24d4f9b6c6777aaa3af4"
64
+ "gitHead": "53ec3d0e3f68f3eebb1dcfe0be4b5b83006a88fc"
65
65
  }
package/static/config.yml CHANGED
@@ -32,6 +32,13 @@ commands:
32
32
  registerToGuilds: []
33
33
  # If enabled, the client will accept replied interactions of this type
34
34
  acceptRepliedInteractions: false
35
+ additionalApplicationCommands:
36
+ # Command register config
37
+ registerCommands:
38
+ # Allow commands to be registered globally
39
+ registerGlobally: true
40
+ # Allow commands to be registered a given guilds/servers
41
+ registerToGuilds: []
35
42
  messageCommand:
36
43
  # If false, the client will ignore this type of command when executed
37
44
  enabled: true
@@ -41,24 +48,21 @@ commands:
41
48
  commandArgumentSeparator: ' '
42
49
  # Command prefix
43
50
  prefix: '!'
44
- additionalApplicationCommands:
45
- # Command register config
46
- registerCommands:
47
- # Allow commands to be registered globally
48
- registerGlobally: true
49
- # Allow commands to be registered a given guilds/servers
50
- registerToGuilds: []
51
51
 
52
52
  # Application commands register config
53
53
  applicationCommandRegister:
54
+ # If false, any application commands will not be registered
55
+ enabled: true
54
56
  # Wether allow all application commands to be registered globally
55
57
  # This ignores their specific configs
56
58
  allowRegisterGlobally: true
57
59
  # Wether allow all application commands to be registered to guilds
58
60
  # This ignores their specific configs
59
- allowRegisterOnGuilds: true
61
+ allowRegisterToGuilds: true
60
62
  # Register empty command list
61
63
  registerEmptyCommands: true
64
+ # Register all application commands to guilds/servers
65
+ registerToGuilds: []
62
66
 
63
67
  # Logger config
64
68
  logger: