@sapphire/plugin-editable-commands 1.0.2 → 1.1.0-next.33452da.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, CommandOptions } from '@sapphire/framework';
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<CommandOptions>({
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
- '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
+ "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, PieceContext } from '@sapphire/framework';
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: PieceContext);
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,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,qBAAa,cAAe,SAAQ,QAAQ,CAAC,OAAO,MAAM,CAAC,aAAa,CAAC;gBACrD,OAAO,EAAE,YAAY;IAIjC,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO;CAgBzC"}
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,mDAAqE;AAGrE,MAAa,cAAe,SAAQ,oBAAqC;IACxE,YAAmB,OAAqB;QACvC,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"}
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.2",
3
+ "version": "1.1.0-next.33452da.0",
4
4
  "description": "Plugin for @sapphire/framework to have editable commands",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "13ea3258845d66442eb4e1949f2c7f58420df33f"
68
+ "gitHead": "33452da808d91313a5d3bf680e11b5208ac67442"
69
69
  }