@sapphire/plugin-editable-commands 1.0.2-next.e9f0692c.0 → 1.1.0-next.64b3d5c.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
|
})
|
|
@@ -108,10 +108,6 @@ export class UserCommand extends Command {
|
|
|
108
108
|
}
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
## Editable Commands Documentation
|
|
112
|
-
|
|
113
|
-
For the full @sapphire/plugin-editable-commands documentation please refer to the TypeDoc generated [documentation](https://sapphiredev.github.io/plugins/modules/_sapphire_plugin_editable_commands.html).
|
|
114
|
-
|
|
115
111
|
## Buy us some doughnuts
|
|
116
112
|
|
|
117
113
|
Sapphire Community is and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!
|
|
@@ -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.0-next.64b3d5c.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": "
|
|
68
|
+
"gitHead": "64b3d5c4a77c1f818994e4176ef1f9ec22055577"
|
|
69
69
|
}
|