cordo 1.16.4 → 1.16.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordo",
3
- "version": "1.16.4",
3
+ "version": "1.16.5",
4
4
  "description": "A framework for handling complex discord api interactions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -57,8 +57,8 @@ export default class CordoCommandsManager {
57
57
  let type = i.data.options?.[0]?.type
58
58
  while (type === ApplicationCommandOptionType.SUB_COMMAND || type === ApplicationCommandOptionType.SUB_COMMAND_GROUP) {
59
59
  name += '_' + i.data.options[0].name.toLowerCase().replace(/ /g, '_').replace(/\W/g, '')
60
- i.data.options = i.data.options[0].options
61
60
  type = i.data.options[0].type
61
+ i.data.options = i.data.options[0].options
62
62
  }
63
63
 
64
64
  try {