seyfert 3.2.7-dev-18639984325.0 → 3.2.7-dev-19218254631.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.
@@ -1,6 +1,6 @@
1
1
  import { type APILabelComponent } from '../types';
2
2
  import { BaseComponentBuilder } from './Base';
3
- import { FileUpload } from './FileUpload';
3
+ import type { FileUpload } from './FileUpload';
4
4
  import type { TextInput } from './Modal';
5
5
  import type { BuilderSelectMenus } from './SelectMenu';
6
6
  export type LabelBuilderComponents = TextInput | BuilderSelectMenus | FileUpload;
@@ -3,8 +3,8 @@ import type { ActionRow } from './ActionRow';
3
3
  import type { Button } from './Button';
4
4
  import type { Container } from './Container';
5
5
  import type { File } from './File';
6
- import { FileUpload } from './FileUpload';
7
- import { Label } from './Label';
6
+ import type { FileUpload } from './FileUpload';
7
+ import type { Label } from './Label';
8
8
  import type { MediaGallery } from './MediaGallery';
9
9
  import type { TextInput } from './Modal';
10
10
  import type { Section } from './Section';
@@ -1,6 +1,6 @@
1
- import { type ActionRow, type Button, type ChannelSelectMenu, type Container, type File, FileUpload, type MediaGallery, type MentionableSelectMenu, type RoleSelectMenu, type Section, type Separator, type StringSelectMenu, type TextDisplay, type TextInput, type Thumbnail, type UserSelectMenu } from '../builders';
1
+ import { type ActionRow, type Button, type ChannelSelectMenu, type Container, type File, type FileUpload, type MediaGallery, type MentionableSelectMenu, type RoleSelectMenu, type Section, type Separator, type StringSelectMenu, type TextDisplay, type TextInput, type Thumbnail, type UserSelectMenu } from '../builders';
2
2
  import { Label } from '../builders/Label';
3
- import { type APIActionRowComponent, type APIActionRowComponentTypes, type APIButtonComponent, type APIChannelSelectComponent, type APIContainerComponent, type APIFileComponent, APIFileUploadComponent, type APILabelComponent, type APIMediaGalleryComponent, type APIMentionableSelectComponent, type APIRoleSelectComponent, type APISectionComponent, type APISeparatorComponent, type APIStringSelectComponent, type APITextDisplayComponent, type APITextInputComponent, type APIThumbnailComponent, type APIUserSelectComponent, ComponentType } from '../types';
3
+ import { type APIActionRowComponent, type APIActionRowComponentTypes, type APIButtonComponent, type APIChannelSelectComponent, type APIContainerComponent, type APIFileComponent, type APIFileUploadComponent, type APILabelComponent, type APIMediaGalleryComponent, type APIMentionableSelectComponent, type APIRoleSelectComponent, type APISectionComponent, type APISeparatorComponent, type APIStringSelectComponent, type APITextDisplayComponent, type APITextInputComponent, type APIThumbnailComponent, type APIUserSelectComponent, ComponentType } from '../types';
4
4
  export declare class BaseComponent<T extends ComponentType> {
5
5
  data: APIComponentsMap[T];
6
6
  constructor(data: APIComponentsMap[T]);
@@ -63,7 +63,10 @@ class EventHandler extends common_1.BaseHandler {
63
63
  }
64
64
  async load(eventsDir) {
65
65
  const paths = await this.loadFilesK(await this.getFiles(eventsDir));
66
- for (const { events, file } of paths.map(x => ({ events: this.onFile(x.file), file: x }))) {
66
+ for (const { events, file } of paths.map(x => ({
67
+ events: this.onFile(x.file),
68
+ file: x,
69
+ }))) {
67
70
  if (!events)
68
71
  continue;
69
72
  for (const i of events) {
@@ -194,7 +197,7 @@ class EventHandler extends common_1.BaseHandler {
194
197
  return this.client.collectors.run(name, args, this.client);
195
198
  }
196
199
  Event.fired = true;
197
- this.logger.debug(`executed a custom event [${name}]`, Event.data.once ? 'once' : '');
200
+ this.client.debugger?.debug(`executed a custom event [${name}]`, Event.data.once ? 'once' : '');
198
201
  await Promise.all([
199
202
  Event.run(...args, this.client),
200
203
  // @ts-expect-error
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert",
3
- "version": "3.2.7-dev-18639984325.0",
3
+ "version": "3.2.7-dev-19218254631.0",
4
4
  "description": "The most advanced framework for discord bots",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -21,13 +21,13 @@
21
21
  "author": "MARCROCK22",
22
22
  "license": "MIT",
23
23
  "devDependencies": {
24
- "@biomejs/biome": "2.2.0",
25
- "@changesets/cli": "^2.29.6",
24
+ "@biomejs/biome": "2.3.4",
25
+ "@changesets/cli": "^2.29.7",
26
26
  "@commitlint/cli": "^19.8.1",
27
27
  "@commitlint/config-conventional": "^19.8.1",
28
- "@types/node": "^24.3.0",
28
+ "@types/node": "^24.10.0",
29
29
  "husky": "^9.1.7",
30
- "typescript": "^5.9.2",
30
+ "typescript": "^5.9.3",
31
31
  "vitest": "^3.2.4"
32
32
  },
33
33
  "homepage": "https://seyfert.dev",