@sapphire/plugin-editable-commands 4.0.4-next.fe87827 → 4.0.4
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 +8 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/listeners/PluginMessageUpdate.cjs.map +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/listeners/PluginMessageUpdate.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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.4](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-editable-commands@4.0.3...@sapphire/plugin-editable-commands@4.0.4) - (2025-01-05)
|
|
6
|
+
|
|
7
|
+
## 🐛 Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **editable-commands:** Update PluginMessageUpdate for latest discord.js version ([aa45009](https://github.com/sapphiredev/plugins/commit/aa45009b590c76dc4eccfb68b47fdf27e8cdfe93)) ([#683](https://github.com/sapphiredev/plugins/pull/683) by @favna)
|
|
10
|
+
- **deps:** Update all non-major dependencies ([a6eeff6](https://github.com/sapphiredev/plugins/commit/a6eeff668d57c995335e02466eb48fbcb699f3ea))
|
|
11
|
+
- **deps:** Update all non-major dependencies ([c74b327](https://github.com/sapphiredev/plugins/commit/c74b327f7e9beea3d5164f8f5e17fbd8e61f74d7)) ([#678](https://github.com/sapphiredev/plugins/pull/678) by @renovate[bot])
|
|
12
|
+
|
|
5
13
|
# [@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
14
|
|
|
7
15
|
## 🐛 Bug Fixes
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -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.4
|
|
7
|
+
var version = "4.0.4";
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "loadListeners", {
|
|
10
10
|
enumerable: true,
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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';\n"]}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,KAAmE,OAAkB,EAAA;AAExG,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, OmitPartialGroupDMChannel, PartialMessage } 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: OmitPartialGroupDMChannel<Message<boolean> | PartialMessage>, 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"]}
|
package/dist/esm/index.mjs
CHANGED
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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';\n"]}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,KAAmE,OAAkB,EAAA;AAExG,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, OmitPartialGroupDMChannel, PartialMessage } 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: OmitPartialGroupDMChannel<Message<boolean> | PartialMessage>, 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"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/plugin-editable-commands",
|
|
3
|
-
"version": "4.0.4
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Plugin for @sapphire/framework to have editable commands",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@favware/cliff-jumper": "^5.0.0",
|
|
84
84
|
"@favware/rollup-type-bundler": "^3.3.0",
|
|
85
|
-
"concurrently": "^9.1.
|
|
85
|
+
"concurrently": "^9.1.2",
|
|
86
86
|
"tsup": "^8.3.5",
|
|
87
87
|
"tsx": "^4.19.2",
|
|
88
88
|
"typedoc": "^0.26.11",
|