@sapphire/plugin-editable-commands 1.0.2 → 1.1.1-next.7cafdfc.0
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/README.md
CHANGED
|
@@ -87,11 +87,11 @@ Then use `send` or `reply` from the package, as shown below:
|
|
|
87
87
|
|
|
88
88
|
```typescript
|
|
89
89
|
import { ApplyOptions } from '@sapphire/decorators';
|
|
90
|
-
import { Command
|
|
90
|
+
import { Command } from '@sapphire/framework';
|
|
91
91
|
import { Message, MessageEmbed } from 'discord.js';
|
|
92
92
|
import { send } from '@sapphire/plugin-editable-commands';
|
|
93
93
|
|
|
94
|
-
@ApplyOptions<
|
|
94
|
+
@ApplyOptions<Command.Options>({
|
|
95
95
|
description: 'A very cool command',
|
|
96
96
|
requiredClientPermissions: ['EMBED_LINKS']
|
|
97
97
|
})
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
3
|
-
const tslib_1 = require(
|
|
4
|
-
(0, tslib_1.__exportStar)(require(
|
|
5
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
(0, tslib_1.__exportStar)(require("@skyra/editable-commands"), exports);
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Events, Listener
|
|
1
|
+
import { Events, Listener } from '@sapphire/framework';
|
|
2
2
|
import type { Message } from 'discord.js';
|
|
3
3
|
export declare class PluginListener extends Listener<typeof Events.MessageUpdate> {
|
|
4
|
-
constructor(context:
|
|
4
|
+
constructor(context: Listener.Context);
|
|
5
5
|
run(old: Message, message: Message): void;
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=pluginMessageUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pluginMessageUpdate.d.ts","sourceRoot":"","sources":["../../src/listeners/pluginMessageUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"pluginMessageUpdate.d.ts","sourceRoot":"","sources":["../../src/listeners/pluginMessageUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,qBAAa,cAAe,SAAQ,QAAQ,CAAC,OAAO,MAAM,CAAC,aAAa,CAAC;gBACrD,OAAO,EAAE,QAAQ,CAAC,OAAO;IAIrC,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO;CAgBzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pluginMessageUpdate.js","sourceRoot":"","sources":["../../src/listeners/pluginMessageUpdate.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"pluginMessageUpdate.js","sourceRoot":"","sources":["../../src/listeners/pluginMessageUpdate.ts"],"names":[],"mappings":";;;AAAA,mDAAuD;AAGvD,MAAa,cAAe,SAAQ,oBAAqC;IACxE,YAAmB,OAAyB;QAC3C,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,kBAAM,CAAC,aAAa,EAAE,CAAC,CAAC;IACjD,CAAC;IAEM,GAAG,CAAC,GAAY,EAAE,OAAgB;QACxC,yDAAyD;QACzD,IAAI,GAAG,CAAC,OAAO,KAAK,OAAO,CAAC,OAAO;YAAE,OAAO;QAE5C,gDAAgD;QAChD,IAAI,OAAO,CAAC,SAAS,KAAK,IAAI;YAAE,OAAO;QAEvC,yDAAyD;QACzD,IAAI,OAAO,CAAC,MAAM;YAAE,OAAO;QAE3B,4CAA4C;QAC5C,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG;YAAE,OAAO;QAE/B,0BAA0B;QAC1B,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAM,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;CACD;AArBD,wCAqBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/plugin-editable-commands",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.1-next.7cafdfc.0",
|
|
4
4
|
"description": "Plugin for @sapphire/framework to have editable commands",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"prepublishOnly": "yarn build"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@skyra/editable-commands": "^2.1.
|
|
35
|
+
"@skyra/editable-commands": "^2.1.1",
|
|
36
36
|
"tslib": "^2.3.1"
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "7cafdfc1876d9d28af3c1b8decf047ab75f3f0bf"
|
|
69
69
|
}
|