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 +6 -0
- package/lib/client/base.d.ts +1 -3
- package/lib/client/base.js +2 -2
- package/lib/types/payloads/channel.d.ts +1 -1
- package/package.json +1 -1
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
|
+

|
package/lib/client/base.d.ts
CHANGED
|
@@ -116,9 +116,7 @@ export interface BaseClientOptions {
|
|
|
116
116
|
onAfterRun?: ModalCommand['onAfterRun'];
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
allowedMentions?:
|
|
120
|
-
parse?: ('everyone' | 'roles' | 'users')[];
|
|
121
|
-
};
|
|
119
|
+
allowedMentions?: RESTPostAPIChannelMessageJSONBody['allowed_mentions'];
|
|
122
120
|
getRC?(): Awaitable<InternalRuntimeConfig | InternalRuntimeConfigHTTP>;
|
|
123
121
|
}
|
|
124
122
|
export interface StartOptions {
|
package/lib/client/base.js
CHANGED
|
@@ -91,10 +91,10 @@ class BaseClient {
|
|
|
91
91
|
modals: {
|
|
92
92
|
defaults: {
|
|
93
93
|
onRunError(context, error) {
|
|
94
|
-
context.client.logger.fatal('
|
|
94
|
+
context.client.logger.fatal('ModalCommand.<onRunError>', context.author.id, error);
|
|
95
95
|
},
|
|
96
96
|
onMiddlewaresError(context, error) {
|
|
97
|
-
context.client.logger.fatal('
|
|
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
|
*/
|