seyfert 2.1.1-dev-12309212345.0 → 2.1.1-dev-12309470171.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
@@ -33,6 +33,10 @@ There are many reasons to use Seyfert, but they dont all fit in this tiny readme
33
33
  pnpm add seyfert
34
34
  ```
35
35
 
36
+ ```sh
37
+ deno add npm:seyfert
38
+ ```
39
+
36
40
  ```sh
37
41
  bun add seyfert
38
42
  ```
@@ -52,3 +56,5 @@ We are open to contributions, fork the repo and make your changes!
52
56
  - [npm - core](https://www.npmjs.com/package/seyfert)
53
57
  - [Website](https://seyfert.dev)
54
58
  - [Documentation](https://docs.seyfert.dev)
59
+
60
+ ![Seyfert star history](https://api.star-history.com/svg?repos=tiramisulabs/seyfert&type=Date)
@@ -116,9 +116,7 @@ export interface BaseClientOptions {
116
116
  onAfterRun?: ModalCommand['onAfterRun'];
117
117
  };
118
118
  };
119
- allowedMentions?: Omit<NonNullable<RESTPostAPIChannelMessageJSONBody['allowed_mentions']>, 'parse'> & {
120
- parse?: ('everyone' | 'roles' | 'users')[];
121
- };
119
+ allowedMentions?: RESTPostAPIChannelMessageJSONBody['allowed_mentions'];
122
120
  getRC?(): Awaitable<InternalRuntimeConfig | InternalRuntimeConfigHTTP>;
123
121
  }
124
122
  export interface StartOptions {
@@ -91,10 +91,10 @@ class BaseClient {
91
91
  modals: {
92
92
  defaults: {
93
93
  onRunError(context, error) {
94
- context.client.logger.fatal('ComponentCommand.<onRunError>', context.author.id, error);
94
+ context.client.logger.fatal('ModalCommand.<onRunError>', context.author.id, error);
95
95
  },
96
96
  onMiddlewaresError(context, error) {
97
- context.client.logger.fatal('ComponentCommand.<onMiddlewaresError>', context.author.id, error);
97
+ context.client.logger.fatal('ModalCommand.<onMiddlewaresError>', context.author.id, error);
98
98
  },
99
99
  onInternalError(client, error) {
100
100
  client.logger.fatal(error);
@@ -1395,7 +1395,7 @@ export interface APIAllowedMentions {
1395
1395
  *
1396
1396
  * See https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types
1397
1397
  */
1398
- parse?: AllowedMentionsTypes[];
1398
+ parse?: `${AllowedMentionsTypes}`[];
1399
1399
  /**
1400
1400
  * Array of role_ids to mention (Max size of 100)
1401
1401
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert",
3
- "version": "2.1.1-dev-12309212345.0",
3
+ "version": "2.1.1-dev-12309470171.0",
4
4
  "description": "The most advanced framework for discord bots",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",