@constatic/base 0.0.6 → 0.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.
@@ -216,9 +216,7 @@ class CommandManager extends BaseManager {
216
216
  `${id} guild`
217
217
  ])));
218
218
  }
219
- if (globalCommands.length) {
220
- promises.push(setGlobal(globalCommands));
221
- }
219
+ promises.push(setGlobal(globalCommands));
222
220
  } else {
223
221
  promises.push(setGlobal(commands));
224
222
  client.guilds.cache.forEach((guild) => guild.commands.set([]).catch(() => null));
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var version = "0.0.6";
2
+ var version = "0.0.7";
3
3
  export {
4
4
  version
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constatic/base",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Library with structures and functions for creating modern Discord applications.",
5
5
  "license": "MIT",
6
6
  "type": "module",