@sapphire/plugin-editable-commands 4.0.3-next.fe95a62.0 → 4.0.4-next.0782cfd

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/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ # [@sapphire/plugin-editable-commands@4.0.3](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-editable-commands@4.0.2...@sapphire/plugin-editable-commands@4.0.3) - (2024-11-02)
6
+
7
+ ## 🐛 Bug Fixes
8
+
9
+ - **editable-commands:** Bump `@skyra/editable-commands` dependency ([f46353d](https://github.com/sapphiredev/plugins/commit/f46353d01d782269a661608f2a133718fbb9279d))
10
+ - **deps:** Update all non-major dependencies ([43df709](https://github.com/sapphiredev/plugins/commit/43df70954d837f7b14d62ea9123aca4b1da9ae36)) ([#574](https://github.com/sapphiredev/plugins/pull/574) by @renovate[bot])
11
+ - **deps:** Update all non-major dependencies ([7909d16](https://github.com/sapphiredev/plugins/commit/7909d16fcec9a8e5e9a3f8816c90a26fbc7d1284)) ([#573](https://github.com/sapphiredev/plugins/pull/573) by @renovate[bot])
12
+ - **deps:** Update all non-major dependencies ([ee64834](https://github.com/sapphiredev/plugins/commit/ee64834c799a5ac28b1ae172cb19f77a1887f3d4)) ([#546](https://github.com/sapphiredev/plugins/pull/546) by @renovate[bot])
13
+
5
14
  # [@sapphire/plugin-editable-commands@4.0.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-editable-commands@4.0.2...@sapphire/plugin-editable-commands@4.0.2) - (2024-01-19)
6
15
 
7
16
  ## 🐛 Bug Fixes
package/README.md CHANGED
@@ -7,7 +7,6 @@
7
7
  **Plugin for <a href="https://github.com/sapphiredev/framework">@sapphire/framework</a> to have editable commands.**
8
8
 
9
9
  [![GitHub](https://img.shields.io/github/license/sapphiredev/plugins)](https://github.com/sapphiredev/plugins/blob/main/LICENSE.md)
10
- [![codecov](https://codecov.io/gh/sapphiredev/plugins/branch/main/graph/badge.svg?token=QWL8FB16BR)](https://codecov.io/gh/sapphiredev/plugins)
11
10
  [![npm bundle size](https://img.shields.io/bundlephobia/min/@sapphire/plugin-editable_commands?logo=webpack&style=flat-square)](https://bundlephobia.com/result?p=@sapphire/plugin-editable-commands)
12
11
  [![npm](https://img.shields.io/npm/v/@sapphire/plugin-editable-commands?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/@sapphire/plugin-editable-commands)
13
12
 
@@ -4,7 +4,7 @@ var editableCommands = require('@skyra/editable-commands');
4
4
  var _load_cjs = require('./listeners/_load.cjs');
5
5
 
6
6
  // src/index.ts
7
- var version = "4.0.3-next.fe95a62.0";
7
+ var version = "4.0.4-next.0782cfd";
8
8
 
9
9
  Object.defineProperty(exports, "loadListeners", {
10
10
  enumerable: true,
@@ -17,5 +17,5 @@ Object.keys(editableCommands).forEach(function (k) {
17
17
  get: function () { return editableCommands[k]; }
18
18
  });
19
19
  });
20
- //# sourceMappingURL=out.js.map
20
+ //# sourceMappingURL=index.cjs.map
21
21
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AAEd,SAAS,qBAAqB;AAUvB,IAAM,UAAkB","sourcesContent":["export * from '@skyra/editable-commands';\n\nexport { loadListeners } from './listeners/_load';\n\n/**\n * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)\n * version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '4.0.3-next.fe95a62.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAYO,IAAM,OAAkB,GAAA","file":"index.cjs","sourcesContent":["export * from '@skyra/editable-commands';\n\nexport { loadListeners } from './listeners/_load';\n\n/**\n * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)\n * version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '4.0.4-next.0782cfd';\n"]}
@@ -9,14 +9,10 @@ var _PluginListener = class _PluginListener extends framework.Listener {
9
9
  super(context, { event: framework.Events.MessageUpdate });
10
10
  }
11
11
  run(old, message) {
12
- if (old.content === message.content)
13
- return;
14
- if (message.webhookId !== null)
15
- return;
16
- if (message.system)
17
- return;
18
- if (message.author.bot)
19
- return;
12
+ if (old.content === message.content) return;
13
+ if (message.webhookId !== null) return;
14
+ if (message.system) return;
15
+ if (message.author.bot) return;
20
16
  this.container.client.emit(framework.Events.PreMessageParsed, message);
21
17
  }
22
18
  };
@@ -24,5 +20,5 @@ __name(_PluginListener, "PluginListener");
24
20
  var PluginListener = _PluginListener;
25
21
 
26
22
  exports.PluginListener = PluginListener;
27
- //# sourceMappingURL=out.js.map
23
+ //# sourceMappingURL=PluginMessageUpdate.cjs.map
28
24
  //# sourceMappingURL=PluginMessageUpdate.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/listeners/PluginMessageUpdate.ts"],"names":[],"mappings":";;;;AAAA,SAAS,QAAQ,gBAAgB;AAG1B,IAAM,kBAAN,MAAM,wBAAuB,SAAsC;AAAA,EAClE,YAAY,SAAiC;AACnD,UAAM,SAAS,EAAE,OAAO,OAAO,cAAc,CAAC;AAAA,EAC/C;AAAA,EAEgB,IAAI,KAAc,SAAkB;AAEnD,QAAI,IAAI,YAAY,QAAQ;AAAS;AAGrC,QAAI,QAAQ,cAAc;AAAM;AAGhC,QAAI,QAAQ;AAAQ;AAGpB,QAAI,QAAQ,OAAO;AAAK;AAGxB,SAAK,UAAU,OAAO,KAAK,OAAO,kBAAkB,OAAO;AAAA,EAC5D;AACD;AArB0E;AAAnE,IAAM,iBAAN","sourcesContent":["import { Events, Listener } from '@sapphire/framework';\nimport type { Message } from 'discord.js';\n\nexport class PluginListener extends Listener<typeof Events.MessageUpdate> {\n\tpublic constructor(context: Listener.LoaderContext) {\n\t\tsuper(context, { event: Events.MessageUpdate });\n\t}\n\n\tpublic override run(old: Message, message: Message) {\n\t\t// If the contents of both messages are the same, return:\n\t\tif (old.content === message.content) return;\n\n\t\t// If the message was sent by a webhook, return:\n\t\tif (message.webhookId !== null) return;\n\n\t\t// If the message was sent by the Discord system, return:\n\t\tif (message.system) return;\n\n\t\t// If the message was sent by a bot, return:\n\t\tif (message.author.bot) return;\n\n\t\t// Run the message parser.\n\t\tthis.container.client.emit(Events.PreMessageParsed, message);\n\t}\n}\n"]}
1
+ {"version":3,"sources":["../../../src/listeners/PluginMessageUpdate.ts"],"names":["Listener","Events"],"mappings":";;;;;;AAGO,IAAM,eAAA,GAAN,MAAM,eAAA,SAAuBA,kBAAsC,CAAA;AAAA,EAClE,YAAY,OAAiC,EAAA;AACnD,IAAA,KAAA,CAAM,OAAS,EAAA,EAAE,KAAO,EAAAC,gBAAA,CAAO,eAAe,CAAA;AAAA;AAC/C,EAEgB,GAAA,CAAI,KAAc,OAAkB,EAAA;AAEnD,IAAI,IAAA,GAAA,CAAI,OAAY,KAAA,OAAA,CAAQ,OAAS,EAAA;AAGrC,IAAI,IAAA,OAAA,CAAQ,cAAc,IAAM,EAAA;AAGhC,IAAA,IAAI,QAAQ,MAAQ,EAAA;AAGpB,IAAI,IAAA,OAAA,CAAQ,OAAO,GAAK,EAAA;AAGxB,IAAA,IAAA,CAAK,SAAU,CAAA,MAAA,CAAO,IAAK,CAAAA,gBAAA,CAAO,kBAAkB,OAAO,CAAA;AAAA;AAE7D,CAAA;AArB0E,MAAA,CAAA,eAAA,EAAA,gBAAA,CAAA;AAAnE,IAAM,cAAN,GAAA","file":"PluginMessageUpdate.cjs","sourcesContent":["import { Events, Listener } from '@sapphire/framework';\nimport type { Message } from 'discord.js';\n\nexport class PluginListener extends Listener<typeof Events.MessageUpdate> {\n\tpublic constructor(context: Listener.LoaderContext) {\n\t\tsuper(context, { event: Events.MessageUpdate });\n\t}\n\n\tpublic override run(old: Message, message: Message) {\n\t\t// If the contents of both messages are the same, return:\n\t\tif (old.content === message.content) return;\n\n\t\t// If the message was sent by a webhook, return:\n\t\tif (message.webhookId !== null) return;\n\n\t\t// If the message was sent by the Discord system, return:\n\t\tif (message.system) return;\n\n\t\t// If the message was sent by a bot, return:\n\t\tif (message.author.bot) return;\n\n\t\t// Run the message parser.\n\t\tthis.container.client.emit(Events.PreMessageParsed, message);\n\t}\n}\n"]}
@@ -12,5 +12,5 @@ function loadListeners() {
12
12
  __name(loadListeners, "loadListeners");
13
13
 
14
14
  exports.loadListeners = loadListeners;
15
- //# sourceMappingURL=out.js.map
15
+ //# sourceMappingURL=_load.cjs.map
16
16
  //# sourceMappingURL=_load.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/listeners/_load.ts"],"names":[],"mappings":";;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB,2BAA2B;AAE/C,SAAS,gBAAgB;AAC/B,QAAM,QAAQ;AACd,OAAK,UAAU,OAAO,UAAU,EAAE,MAAM,uBAAuB,OAAO,qBAAqB,MAAM,CAAC;AACnG;AAHgB","sourcesContent":["import { container } from '@sapphire/pieces';\nimport { PluginListener as PluginMessageUpdate } from './PluginMessageUpdate';\n\nexport function loadListeners() {\n\tconst store = 'listeners' as const;\n\tvoid container.stores.loadPiece({ name: 'PluginMessageUpdate', piece: PluginMessageUpdate, store });\n}\n"]}
1
+ {"version":3,"sources":["../../../src/listeners/_load.ts"],"names":["container","PluginMessageUpdate"],"mappings":";;;;;;;AAGO,SAAS,aAAgB,GAAA;AAC/B,EAAA,MAAM,KAAQ,GAAA,WAAA;AACd,EAAK,KAAAA,gBAAA,CAAU,OAAO,SAAU,CAAA,EAAE,MAAM,qBAAuB,EAAA,KAAA,EAAOC,sCAAqB,EAAA,KAAA,EAAO,CAAA;AACnG;AAHgB,MAAA,CAAA,aAAA,EAAA,eAAA,CAAA","file":"_load.cjs","sourcesContent":["import { container } from '@sapphire/pieces';\nimport { PluginListener as PluginMessageUpdate } from './PluginMessageUpdate';\n\nexport function loadListeners() {\n\tconst store = 'listeners' as const;\n\tvoid container.stores.loadPiece({ name: 'PluginMessageUpdate', piece: PluginMessageUpdate, store });\n}\n"]}
@@ -18,5 +18,5 @@ var EditableCommandsPlugin = _EditableCommandsPlugin;
18
18
  framework.SapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[framework.postInitialization], "EditableCommands-PostInitialization");
19
19
 
20
20
  exports.EditableCommandsPlugin = EditableCommandsPlugin;
21
- //# sourceMappingURL=out.js.map
21
+ //# sourceMappingURL=register.cjs.map
22
22
  //# sourceMappingURL=register.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;AAAA,SAAS,QAAQ,oBAAoB,sBAAsB;AAC3D,SAAS,qBAAqB;AAKvB,IAAM,0BAAN,MAAM,gCAA+B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlD,QAAe,kBAAkB,IAA8B;AAC9D,kBAAc;AAAA,EACf;AACD;AAPmD;AAA5C,IAAM,yBAAN;AASP,eAAe,QAAQ,+BAA+B,uBAAuB,kBAAkB,GAAG,qCAAqC","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport { loadListeners } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class EditableCommandsPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient): void {\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], 'EditableCommands-PostInitialization');\n"]}
1
+ {"version":3,"sources":["../../src/register.ts"],"names":["Plugin","postInitialization","loadListeners","SapphireClient"],"mappings":";;;;;;;AAMO,IAAM,uBAAA,GAAN,MAAM,uBAAA,SAA+BA,gBAAO,CAAA;AAAA;AAAA;AAAA;AAAA,EAIlD,QAAeC,4BAAkB,CAA8B,GAAA;AAC9D,IAAcC,uBAAA,EAAA;AAAA;AAEhB,CAAA;AAPmD,MAAA,CAAA,uBAAA,EAAA,wBAAA,CAAA;AAA5C,IAAM,sBAAN,GAAA;AASPC,wBAAA,CAAe,OAAQ,CAAA,8BAAA,CAA+B,sBAAuB,CAAAF,4BAAkB,GAAG,qCAAqC,CAAA","file":"register.cjs","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport { loadListeners } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class EditableCommandsPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient): void {\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], 'EditableCommands-PostInitialization');\n"]}
@@ -2,5 +2,5 @@ var __defProp = Object.defineProperty;
2
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
3
 
4
4
  export { __name };
5
- //# sourceMappingURL=out.js.map
6
- //# sourceMappingURL=chunk-G5GHKT7C.mjs.map
5
+ //# sourceMappingURL=chunk-PAWJFY3S.mjs.map
6
+ //# sourceMappingURL=chunk-PAWJFY3S.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-PAWJFY3S.mjs"}
@@ -1,9 +1,9 @@
1
- import './chunk-G5GHKT7C.mjs';
1
+ import './chunk-PAWJFY3S.mjs';
2
2
  export * from '@skyra/editable-commands';
3
3
  export { loadListeners } from './listeners/_load.mjs';
4
4
 
5
- var version = "4.0.3-next.fe95a62.0";
5
+ var version = "4.0.4-next.0782cfd";
6
6
 
7
7
  export { version };
8
- //# sourceMappingURL=out.js.map
8
+ //# sourceMappingURL=index.mjs.map
9
9
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,cAAc;AAEd,SAAS,qBAAqB;AAUvB,IAAM,UAAkB","sourcesContent":["export * from '@skyra/editable-commands';\n\nexport { loadListeners } from './listeners/_load';\n\n/**\n * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)\n * version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '4.0.3-next.fe95a62.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAYO,IAAM,OAAkB,GAAA","file":"index.mjs","sourcesContent":["export * from '@skyra/editable-commands';\n\nexport { loadListeners } from './listeners/_load';\n\n/**\n * The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)\n * version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '4.0.4-next.0782cfd';\n"]}
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-G5GHKT7C.mjs';
1
+ import { __name } from '../chunk-PAWJFY3S.mjs';
2
2
  import { Listener, Events } from '@sapphire/framework';
3
3
 
4
4
  var _PluginListener = class _PluginListener extends Listener {
@@ -6,14 +6,10 @@ var _PluginListener = class _PluginListener extends Listener {
6
6
  super(context, { event: Events.MessageUpdate });
7
7
  }
8
8
  run(old, message) {
9
- if (old.content === message.content)
10
- return;
11
- if (message.webhookId !== null)
12
- return;
13
- if (message.system)
14
- return;
15
- if (message.author.bot)
16
- return;
9
+ if (old.content === message.content) return;
10
+ if (message.webhookId !== null) return;
11
+ if (message.system) return;
12
+ if (message.author.bot) return;
17
13
  this.container.client.emit(Events.PreMessageParsed, message);
18
14
  }
19
15
  };
@@ -21,5 +17,5 @@ __name(_PluginListener, "PluginListener");
21
17
  var PluginListener = _PluginListener;
22
18
 
23
19
  export { PluginListener };
24
- //# sourceMappingURL=out.js.map
20
+ //# sourceMappingURL=PluginMessageUpdate.mjs.map
25
21
  //# sourceMappingURL=PluginMessageUpdate.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/listeners/PluginMessageUpdate.ts"],"names":[],"mappings":";;;;;AAAA,SAAS,QAAQ,gBAAgB;AAG1B,IAAM,kBAAN,MAAM,wBAAuB,SAAsC;AAAA,EAClE,YAAY,SAAiC;AACnD,UAAM,SAAS,EAAE,OAAO,OAAO,cAAc,CAAC;AAAA,EAC/C;AAAA,EAEgB,IAAI,KAAc,SAAkB;AAEnD,QAAI,IAAI,YAAY,QAAQ;AAAS;AAGrC,QAAI,QAAQ,cAAc;AAAM;AAGhC,QAAI,QAAQ;AAAQ;AAGpB,QAAI,QAAQ,OAAO;AAAK;AAGxB,SAAK,UAAU,OAAO,KAAK,OAAO,kBAAkB,OAAO;AAAA,EAC5D;AACD;AArB0E;AAAnE,IAAM,iBAAN","sourcesContent":["import { Events, Listener } from '@sapphire/framework';\nimport type { Message } from 'discord.js';\n\nexport class PluginListener extends Listener<typeof Events.MessageUpdate> {\n\tpublic constructor(context: Listener.LoaderContext) {\n\t\tsuper(context, { event: Events.MessageUpdate });\n\t}\n\n\tpublic override run(old: Message, message: Message) {\n\t\t// If the contents of both messages are the same, return:\n\t\tif (old.content === message.content) return;\n\n\t\t// If the message was sent by a webhook, return:\n\t\tif (message.webhookId !== null) return;\n\n\t\t// If the message was sent by the Discord system, return:\n\t\tif (message.system) return;\n\n\t\t// If the message was sent by a bot, return:\n\t\tif (message.author.bot) return;\n\n\t\t// Run the message parser.\n\t\tthis.container.client.emit(Events.PreMessageParsed, message);\n\t}\n}\n"]}
1
+ {"version":3,"sources":["../../../src/listeners/PluginMessageUpdate.ts"],"names":[],"mappings":";;;AAGO,IAAM,eAAA,GAAN,MAAM,eAAA,SAAuB,QAAsC,CAAA;AAAA,EAClE,YAAY,OAAiC,EAAA;AACnD,IAAA,KAAA,CAAM,OAAS,EAAA,EAAE,KAAO,EAAA,MAAA,CAAO,eAAe,CAAA;AAAA;AAC/C,EAEgB,GAAA,CAAI,KAAc,OAAkB,EAAA;AAEnD,IAAI,IAAA,GAAA,CAAI,OAAY,KAAA,OAAA,CAAQ,OAAS,EAAA;AAGrC,IAAI,IAAA,OAAA,CAAQ,cAAc,IAAM,EAAA;AAGhC,IAAA,IAAI,QAAQ,MAAQ,EAAA;AAGpB,IAAI,IAAA,OAAA,CAAQ,OAAO,GAAK,EAAA;AAGxB,IAAA,IAAA,CAAK,SAAU,CAAA,MAAA,CAAO,IAAK,CAAA,MAAA,CAAO,kBAAkB,OAAO,CAAA;AAAA;AAE7D,CAAA;AArB0E,MAAA,CAAA,eAAA,EAAA,gBAAA,CAAA;AAAnE,IAAM,cAAN,GAAA","file":"PluginMessageUpdate.mjs","sourcesContent":["import { Events, Listener } from '@sapphire/framework';\nimport type { Message } from 'discord.js';\n\nexport class PluginListener extends Listener<typeof Events.MessageUpdate> {\n\tpublic constructor(context: Listener.LoaderContext) {\n\t\tsuper(context, { event: Events.MessageUpdate });\n\t}\n\n\tpublic override run(old: Message, message: Message) {\n\t\t// If the contents of both messages are the same, return:\n\t\tif (old.content === message.content) return;\n\n\t\t// If the message was sent by a webhook, return:\n\t\tif (message.webhookId !== null) return;\n\n\t\t// If the message was sent by the Discord system, return:\n\t\tif (message.system) return;\n\n\t\t// If the message was sent by a bot, return:\n\t\tif (message.author.bot) return;\n\n\t\t// Run the message parser.\n\t\tthis.container.client.emit(Events.PreMessageParsed, message);\n\t}\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-G5GHKT7C.mjs';
1
+ import { __name } from '../chunk-PAWJFY3S.mjs';
2
2
  import { container } from '@sapphire/pieces';
3
3
  import { PluginListener } from './PluginMessageUpdate.mjs';
4
4
 
@@ -9,5 +9,5 @@ function loadListeners() {
9
9
  __name(loadListeners, "loadListeners");
10
10
 
11
11
  export { loadListeners };
12
- //# sourceMappingURL=out.js.map
12
+ //# sourceMappingURL=_load.mjs.map
13
13
  //# sourceMappingURL=_load.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/listeners/_load.ts"],"names":[],"mappings":";;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB,2BAA2B;AAE/C,SAAS,gBAAgB;AAC/B,QAAM,QAAQ;AACd,OAAK,UAAU,OAAO,UAAU,EAAE,MAAM,uBAAuB,OAAO,qBAAqB,MAAM,CAAC;AACnG;AAHgB","sourcesContent":["import { container } from '@sapphire/pieces';\nimport { PluginListener as PluginMessageUpdate } from './PluginMessageUpdate';\n\nexport function loadListeners() {\n\tconst store = 'listeners' as const;\n\tvoid container.stores.loadPiece({ name: 'PluginMessageUpdate', piece: PluginMessageUpdate, store });\n}\n"]}
1
+ {"version":3,"sources":["../../../src/listeners/_load.ts"],"names":["PluginMessageUpdate"],"mappings":";;;;AAGO,SAAS,aAAgB,GAAA;AAC/B,EAAA,MAAM,KAAQ,GAAA,WAAA;AACd,EAAK,KAAA,SAAA,CAAU,OAAO,SAAU,CAAA,EAAE,MAAM,qBAAuB,EAAA,KAAA,EAAOA,cAAqB,EAAA,KAAA,EAAO,CAAA;AACnG;AAHgB,MAAA,CAAA,aAAA,EAAA,eAAA,CAAA","file":"_load.mjs","sourcesContent":["import { container } from '@sapphire/pieces';\nimport { PluginListener as PluginMessageUpdate } from './PluginMessageUpdate';\n\nexport function loadListeners() {\n\tconst store = 'listeners' as const;\n\tvoid container.stores.loadPiece({ name: 'PluginMessageUpdate', piece: PluginMessageUpdate, store });\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { __name } from './chunk-G5GHKT7C.mjs';
1
+ import { __name } from './chunk-PAWJFY3S.mjs';
2
2
  import { SapphireClient, postInitialization, Plugin } from '@sapphire/framework';
3
3
  import { loadListeners } from './index.mjs';
4
4
 
@@ -15,5 +15,5 @@ var EditableCommandsPlugin = _EditableCommandsPlugin;
15
15
  SapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], "EditableCommands-PostInitialization");
16
16
 
17
17
  export { EditableCommandsPlugin };
18
- //# sourceMappingURL=out.js.map
18
+ //# sourceMappingURL=register.mjs.map
19
19
  //# sourceMappingURL=register.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;;AAAA,SAAS,QAAQ,oBAAoB,sBAAsB;AAC3D,SAAS,qBAAqB;AAKvB,IAAM,0BAAN,MAAM,gCAA+B,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlD,QAAe,kBAAkB,IAA8B;AAC9D,kBAAc;AAAA,EACf;AACD;AAPmD;AAA5C,IAAM,yBAAN;AASP,eAAe,QAAQ,+BAA+B,uBAAuB,kBAAkB,GAAG,qCAAqC","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport { loadListeners } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class EditableCommandsPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient): void {\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], 'EditableCommands-PostInitialization');\n"]}
1
+ {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;AAMO,IAAM,uBAAA,GAAN,MAAM,uBAAA,SAA+B,MAAO,CAAA;AAAA;AAAA;AAAA;AAAA,EAIlD,QAAe,kBAAkB,CAA8B,GAAA;AAC9D,IAAc,aAAA,EAAA;AAAA;AAEhB,CAAA;AAPmD,MAAA,CAAA,uBAAA,EAAA,wBAAA,CAAA;AAA5C,IAAM,sBAAN,GAAA;AASP,cAAA,CAAe,OAAQ,CAAA,8BAAA,CAA+B,sBAAuB,CAAA,kBAAkB,GAAG,qCAAqC,CAAA","file":"register.mjs","sourcesContent":["import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';\nimport { loadListeners } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class EditableCommandsPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [postInitialization](this: SapphireClient): void {\n\t\tloadListeners();\n\t}\n}\n\nSapphireClient.plugins.registerPostInitializationHook(EditableCommandsPlugin[postInitialization], 'EditableCommands-PostInitialization');\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/plugin-editable-commands",
3
- "version": "4.0.3-next.fe95a62.0",
3
+ "version": "4.0.4-next.0782cfd",
4
4
  "description": "Plugin for @sapphire/framework to have editable commands",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -49,7 +49,7 @@
49
49
  "check-update": "cliff-jumper --dry-run"
50
50
  },
51
51
  "dependencies": {
52
- "@skyra/editable-commands": "^3.0.1"
52
+ "@skyra/editable-commands": "^3.0.4"
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",
@@ -80,13 +80,13 @@
80
80
  "access": "public"
81
81
  },
82
82
  "devDependencies": {
83
- "@favware/cliff-jumper": "^2.2.3",
83
+ "@favware/cliff-jumper": "^5.0.0",
84
84
  "@favware/rollup-type-bundler": "^3.3.0",
85
- "concurrently": "^8.2.2",
86
- "tsup": "^8.0.2",
87
- "tsx": "^4.7.1",
88
- "typedoc": "^0.25.8",
89
- "typedoc-json-parser": "^9.0.1",
90
- "typescript": "^5.3.3"
85
+ "concurrently": "^9.0.1",
86
+ "tsup": "^8.3.5",
87
+ "tsx": "^4.19.2",
88
+ "typedoc": "^0.26.11",
89
+ "typedoc-json-parser": "^10.2.0",
90
+ "typescript": "~5.4.5"
91
91
  }
92
92
  }
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}