@fallencodes/seyfert-utils 1.1.4 → 1.1.5

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.
@@ -1,5 +1,5 @@
1
1
  import { ModalSubmitInteraction, ComponentInteraction } from 'seyfert';
2
2
  import { HandleCommand } from 'seyfert/lib/commands/handle.js';
3
3
  export declare function handleModal(this: HandleCommand, interaction: ModalSubmitInteraction): Promise<void>;
4
- export declare function messageComponent(this: HandleCommand, interaction: ComponentInteraction): Promise<void>;
4
+ export declare function handleMessageComponent(this: HandleCommand, interaction: ComponentInteraction): Promise<void>;
5
5
  //# sourceMappingURL=handleCommand.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handleCommand.d.ts","sourceRoot":"","sources":["../src/handleCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAwE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC7I,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAG/D,wBAAsB,WAAW,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,iBAgBzF;AAGD,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,oBAAoB,iBAkB5F"}
1
+ {"version":3,"file":"handleCommand.d.ts","sourceRoot":"","sources":["../src/handleCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAwE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC7I,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAG/D,wBAAsB,WAAW,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,iBAgBzF;AAGD,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,oBAAoB,iBAkBlG"}
@@ -17,7 +17,7 @@ export async function handleModal(interaction) {
17
17
  }
18
18
  ;
19
19
  /* My custom message component handler to support advanced custom IDs. */
20
- export async function messageComponent(interaction) {
20
+ export async function handleMessageComponent(interaction) {
21
21
  // @ts-expect-error
22
22
  const context = new ComponentContext(this.client, interaction);
23
23
  const extended = this.client.options.context?.(interaction) ?? {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fallencodes/seyfert-utils",
3
3
  "type": "module",
4
- "version": "1.1.4",
4
+ "version": "1.1.5",
5
5
  "license": "MIT",
6
6
  "description": "A collection of various utility/helper code I use in my Seyfert projects.",
7
7
  "main": "build/index.js",