seyfert 1.3.1 → 1.3.2
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/lib/cache/adapters/redis.js +7 -1
- package/lib/common/types/util.d.ts +2 -2
- package/lib/events/hooks/guild.d.ts +46 -46
- package/lib/events/hooks/integration.d.ts +18 -18
- package/lib/events/hooks/invite.d.ts +10 -10
- package/lib/events/hooks/message.d.ts +20 -20
- package/lib/events/hooks/presence.d.ts +1 -1
- package/lib/events/hooks/thread.d.ts +24 -24
- package/lib/events/hooks/typing.d.ts +5 -5
- package/lib/events/hooks/voice.d.ts +5 -5
- package/package.json +2 -2
|
@@ -122,7 +122,13 @@ class RedisAdapter {
|
|
|
122
122
|
await this.client.del(...keys.map(x => this.buildKey(x)));
|
|
123
123
|
}
|
|
124
124
|
async flush() {
|
|
125
|
-
|
|
125
|
+
const keys = await Promise.all([
|
|
126
|
+
this.scan(this.buildKey('*'), true),
|
|
127
|
+
this.__scanSets(this.buildKey('*'), true),
|
|
128
|
+
]).then(x => x.flat());
|
|
129
|
+
if (!keys.length)
|
|
130
|
+
return;
|
|
131
|
+
await this.remove(keys);
|
|
126
132
|
}
|
|
127
133
|
async contains(to, keys) {
|
|
128
134
|
return (await this.client.sismember(`${this.buildKey(to)}:set`, keys)) === 1;
|
|
@@ -52,13 +52,13 @@ export type ObjectToLower<T> = Identify<{
|
|
|
52
52
|
[K in keyof T as CamelCase<Exclude<K, symbol | number>>]: T[K] extends unknown[] ? Identify<ObjectToLower<T[K][0]>[]> : T[K] extends object ? Identify<ObjectToLower<T[K]>> : AuxIsStrictlyUndefined<T[K]> extends true ? undefined : ObjectToLowerUndefined<T[K]>;
|
|
53
53
|
}>;
|
|
54
54
|
export type ObjectToLowerUndefined<T> = T extends unknown[] ? ObjectToLower<T[0]>[] : Identify<{
|
|
55
|
-
[K in keyof T as CamelCase<Exclude<K, symbol | number>>]
|
|
55
|
+
[K in keyof T as CamelCase<Exclude<K, symbol | number>>]: T[K] extends unknown[] ? ObjectToLower<T[K][0]>[] : T[K] extends object ? ObjectToLower<T[K]> : T[K];
|
|
56
56
|
}>;
|
|
57
57
|
export type ObjectToSnake<T> = Identify<{
|
|
58
58
|
[K in keyof T as SnakeCase<Exclude<K, symbol | number>>]: T[K] extends unknown[] ? Identify<ObjectToSnake<T[K][0]>[]> : T[K] extends object ? Identify<ObjectToSnake<T[K]>> : AuxIsStrictlyUndefined<T[K]> extends true ? undefined : ObjectToSnakeUndefined<T[K]>;
|
|
59
59
|
}>;
|
|
60
60
|
export type ObjectToSnakeUndefined<T> = T extends unknown[] ? ObjectToSnake<T[0]>[] : Identify<{
|
|
61
|
-
[K in keyof T as SnakeCase<Exclude<K, symbol | number>>]
|
|
61
|
+
[K in keyof T as SnakeCase<Exclude<K, symbol | number>>]: T[K] extends unknown[] ? ObjectToSnake<T[K][0]>[] : T[K] extends object ? ObjectToSnake<T[K]> : T[K];
|
|
62
62
|
}>;
|
|
63
63
|
export type UnionToTuple<U, A extends any[] = []> = (U extends void ? void : (arg: () => U) => never) extends (arg: infer I) => void ? I extends () => infer W ? UnionToTuple<Exclude<U, W>, [W, ...A]> : A : never;
|
|
64
64
|
export type KeysWithUndefined<T> = {
|
|
@@ -516,7 +516,7 @@ export declare const GUILD_MEMBERS_CHUNK: (self: BaseClient, data: GatewayGuildM
|
|
|
516
516
|
emoji?: {
|
|
517
517
|
id?: string | null | undefined;
|
|
518
518
|
animated?: boolean | undefined;
|
|
519
|
-
name
|
|
519
|
+
name: string | null;
|
|
520
520
|
} | undefined;
|
|
521
521
|
sessionId?: string | undefined;
|
|
522
522
|
party?: {
|
|
@@ -565,11 +565,11 @@ export declare const GUILD_SCHEDULED_EVENT_CREATE: (_self: BaseClient, data: Gat
|
|
|
565
565
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.StageInstance;
|
|
566
566
|
entityId: string | null;
|
|
567
567
|
creator?: {
|
|
568
|
-
id
|
|
569
|
-
username
|
|
570
|
-
discriminator
|
|
571
|
-
globalName
|
|
572
|
-
avatar
|
|
568
|
+
id: string;
|
|
569
|
+
username: string;
|
|
570
|
+
discriminator: string;
|
|
571
|
+
globalName: string | null;
|
|
572
|
+
avatar: string | null;
|
|
573
573
|
bot?: boolean | undefined;
|
|
574
574
|
system?: boolean | undefined;
|
|
575
575
|
mfaEnabled?: boolean | undefined;
|
|
@@ -600,11 +600,11 @@ export declare const GUILD_SCHEDULED_EVENT_CREATE: (_self: BaseClient, data: Gat
|
|
|
600
600
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.Voice;
|
|
601
601
|
entityId: string | null;
|
|
602
602
|
creator?: {
|
|
603
|
-
id
|
|
604
|
-
username
|
|
605
|
-
discriminator
|
|
606
|
-
globalName
|
|
607
|
-
avatar
|
|
603
|
+
id: string;
|
|
604
|
+
username: string;
|
|
605
|
+
discriminator: string;
|
|
606
|
+
globalName: string | null;
|
|
607
|
+
avatar: string | null;
|
|
608
608
|
bot?: boolean | undefined;
|
|
609
609
|
system?: boolean | undefined;
|
|
610
610
|
mfaEnabled?: boolean | undefined;
|
|
@@ -637,11 +637,11 @@ export declare const GUILD_SCHEDULED_EVENT_CREATE: (_self: BaseClient, data: Gat
|
|
|
637
637
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.External;
|
|
638
638
|
entityId: string | null;
|
|
639
639
|
creator?: {
|
|
640
|
-
id
|
|
641
|
-
username
|
|
642
|
-
discriminator
|
|
643
|
-
globalName
|
|
644
|
-
avatar
|
|
640
|
+
id: string;
|
|
641
|
+
username: string;
|
|
642
|
+
discriminator: string;
|
|
643
|
+
globalName: string | null;
|
|
644
|
+
avatar: string | null;
|
|
645
645
|
bot?: boolean | undefined;
|
|
646
646
|
system?: boolean | undefined;
|
|
647
647
|
mfaEnabled?: boolean | undefined;
|
|
@@ -673,11 +673,11 @@ export declare const GUILD_SCHEDULED_EVENT_UPDATE: (_self: BaseClient, data: Gat
|
|
|
673
673
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.StageInstance;
|
|
674
674
|
entityId: string | null;
|
|
675
675
|
creator?: {
|
|
676
|
-
id
|
|
677
|
-
username
|
|
678
|
-
discriminator
|
|
679
|
-
globalName
|
|
680
|
-
avatar
|
|
676
|
+
id: string;
|
|
677
|
+
username: string;
|
|
678
|
+
discriminator: string;
|
|
679
|
+
globalName: string | null;
|
|
680
|
+
avatar: string | null;
|
|
681
681
|
bot?: boolean | undefined;
|
|
682
682
|
system?: boolean | undefined;
|
|
683
683
|
mfaEnabled?: boolean | undefined;
|
|
@@ -708,11 +708,11 @@ export declare const GUILD_SCHEDULED_EVENT_UPDATE: (_self: BaseClient, data: Gat
|
|
|
708
708
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.Voice;
|
|
709
709
|
entityId: string | null;
|
|
710
710
|
creator?: {
|
|
711
|
-
id
|
|
712
|
-
username
|
|
713
|
-
discriminator
|
|
714
|
-
globalName
|
|
715
|
-
avatar
|
|
711
|
+
id: string;
|
|
712
|
+
username: string;
|
|
713
|
+
discriminator: string;
|
|
714
|
+
globalName: string | null;
|
|
715
|
+
avatar: string | null;
|
|
716
716
|
bot?: boolean | undefined;
|
|
717
717
|
system?: boolean | undefined;
|
|
718
718
|
mfaEnabled?: boolean | undefined;
|
|
@@ -745,11 +745,11 @@ export declare const GUILD_SCHEDULED_EVENT_UPDATE: (_self: BaseClient, data: Gat
|
|
|
745
745
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.External;
|
|
746
746
|
entityId: string | null;
|
|
747
747
|
creator?: {
|
|
748
|
-
id
|
|
749
|
-
username
|
|
750
|
-
discriminator
|
|
751
|
-
globalName
|
|
752
|
-
avatar
|
|
748
|
+
id: string;
|
|
749
|
+
username: string;
|
|
750
|
+
discriminator: string;
|
|
751
|
+
globalName: string | null;
|
|
752
|
+
avatar: string | null;
|
|
753
753
|
bot?: boolean | undefined;
|
|
754
754
|
system?: boolean | undefined;
|
|
755
755
|
mfaEnabled?: boolean | undefined;
|
|
@@ -781,11 +781,11 @@ export declare const GUILD_SCHEDULED_EVENT_DELETE: (_self: BaseClient, data: Gat
|
|
|
781
781
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.StageInstance;
|
|
782
782
|
entityId: string | null;
|
|
783
783
|
creator?: {
|
|
784
|
-
id
|
|
785
|
-
username
|
|
786
|
-
discriminator
|
|
787
|
-
globalName
|
|
788
|
-
avatar
|
|
784
|
+
id: string;
|
|
785
|
+
username: string;
|
|
786
|
+
discriminator: string;
|
|
787
|
+
globalName: string | null;
|
|
788
|
+
avatar: string | null;
|
|
789
789
|
bot?: boolean | undefined;
|
|
790
790
|
system?: boolean | undefined;
|
|
791
791
|
mfaEnabled?: boolean | undefined;
|
|
@@ -816,11 +816,11 @@ export declare const GUILD_SCHEDULED_EVENT_DELETE: (_self: BaseClient, data: Gat
|
|
|
816
816
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.Voice;
|
|
817
817
|
entityId: string | null;
|
|
818
818
|
creator?: {
|
|
819
|
-
id
|
|
820
|
-
username
|
|
821
|
-
discriminator
|
|
822
|
-
globalName
|
|
823
|
-
avatar
|
|
819
|
+
id: string;
|
|
820
|
+
username: string;
|
|
821
|
+
discriminator: string;
|
|
822
|
+
globalName: string | null;
|
|
823
|
+
avatar: string | null;
|
|
824
824
|
bot?: boolean | undefined;
|
|
825
825
|
system?: boolean | undefined;
|
|
826
826
|
mfaEnabled?: boolean | undefined;
|
|
@@ -853,11 +853,11 @@ export declare const GUILD_SCHEDULED_EVENT_DELETE: (_self: BaseClient, data: Gat
|
|
|
853
853
|
entityType: import("discord-api-types/v10").GuildScheduledEventEntityType.External;
|
|
854
854
|
entityId: string | null;
|
|
855
855
|
creator?: {
|
|
856
|
-
id
|
|
857
|
-
username
|
|
858
|
-
discriminator
|
|
859
|
-
globalName
|
|
860
|
-
avatar
|
|
856
|
+
id: string;
|
|
857
|
+
username: string;
|
|
858
|
+
discriminator: string;
|
|
859
|
+
globalName: string | null;
|
|
860
|
+
avatar: string | null;
|
|
861
861
|
bot?: boolean | undefined;
|
|
862
862
|
system?: boolean | undefined;
|
|
863
863
|
mfaEnabled?: boolean | undefined;
|
|
@@ -11,11 +11,11 @@ export declare const INTEGRATION_CREATE: (self: BaseClient, data: GatewayIntegra
|
|
|
11
11
|
expireBehavior?: import("discord-api-types/v10").IntegrationExpireBehavior | undefined;
|
|
12
12
|
expireGracePeriod?: number | undefined;
|
|
13
13
|
user?: {
|
|
14
|
-
id
|
|
15
|
-
username
|
|
16
|
-
discriminator
|
|
17
|
-
globalName
|
|
18
|
-
avatar
|
|
14
|
+
id: string;
|
|
15
|
+
username: string;
|
|
16
|
+
discriminator: string;
|
|
17
|
+
globalName: string | null;
|
|
18
|
+
avatar: string | null;
|
|
19
19
|
bot?: boolean | undefined;
|
|
20
20
|
system?: boolean | undefined;
|
|
21
21
|
mfaEnabled?: boolean | undefined;
|
|
@@ -37,10 +37,10 @@ export declare const INTEGRATION_CREATE: (self: BaseClient, data: GatewayIntegra
|
|
|
37
37
|
subscriberCount?: number | undefined;
|
|
38
38
|
revoked?: boolean | undefined;
|
|
39
39
|
application?: {
|
|
40
|
-
id
|
|
41
|
-
name
|
|
42
|
-
icon
|
|
43
|
-
description
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
icon: string | null;
|
|
43
|
+
description: string;
|
|
44
44
|
bot?: import("discord-api-types/v10").APIUser | undefined;
|
|
45
45
|
} | undefined;
|
|
46
46
|
scopes?: import("discord-api-types/v10").OAuth2Scopes[] | undefined;
|
|
@@ -57,11 +57,11 @@ export declare const INTEGRATION_UPDATE: (self: BaseClient, data: GatewayIntegra
|
|
|
57
57
|
expireBehavior?: import("discord-api-types/v10").IntegrationExpireBehavior | undefined;
|
|
58
58
|
expireGracePeriod?: number | undefined;
|
|
59
59
|
user?: {
|
|
60
|
-
id
|
|
61
|
-
username
|
|
62
|
-
discriminator
|
|
63
|
-
globalName
|
|
64
|
-
avatar
|
|
60
|
+
id: string;
|
|
61
|
+
username: string;
|
|
62
|
+
discriminator: string;
|
|
63
|
+
globalName: string | null;
|
|
64
|
+
avatar: string | null;
|
|
65
65
|
bot?: boolean | undefined;
|
|
66
66
|
system?: boolean | undefined;
|
|
67
67
|
mfaEnabled?: boolean | undefined;
|
|
@@ -83,10 +83,10 @@ export declare const INTEGRATION_UPDATE: (self: BaseClient, data: GatewayIntegra
|
|
|
83
83
|
subscriberCount?: number | undefined;
|
|
84
84
|
revoked?: boolean | undefined;
|
|
85
85
|
application?: {
|
|
86
|
-
id
|
|
87
|
-
name
|
|
88
|
-
icon
|
|
89
|
-
description
|
|
86
|
+
id: string;
|
|
87
|
+
name: string;
|
|
88
|
+
icon: string | null;
|
|
89
|
+
description: string;
|
|
90
90
|
bot?: import("discord-api-types/v10").APIUser | undefined;
|
|
91
91
|
} | undefined;
|
|
92
92
|
scopes?: import("discord-api-types/v10").OAuth2Scopes[] | undefined;
|
|
@@ -6,11 +6,11 @@ export declare const INVITE_CREATE: (_self: BaseClient, data: GatewayInviteCreat
|
|
|
6
6
|
createdAt: number;
|
|
7
7
|
guildId?: string | undefined;
|
|
8
8
|
inviter?: {
|
|
9
|
-
id
|
|
10
|
-
username
|
|
11
|
-
discriminator
|
|
12
|
-
globalName
|
|
13
|
-
avatar
|
|
9
|
+
id: string;
|
|
10
|
+
username: string;
|
|
11
|
+
discriminator: string;
|
|
12
|
+
globalName: string | null;
|
|
13
|
+
avatar: string | null;
|
|
14
14
|
bot?: boolean | undefined;
|
|
15
15
|
system?: boolean | undefined;
|
|
16
16
|
mfaEnabled?: boolean | undefined;
|
|
@@ -28,11 +28,11 @@ export declare const INVITE_CREATE: (_self: BaseClient, data: GatewayInviteCreat
|
|
|
28
28
|
maxUses: number;
|
|
29
29
|
targetType?: import("discord-api-types/v10").InviteTargetType | undefined;
|
|
30
30
|
targetUser?: {
|
|
31
|
-
id
|
|
32
|
-
username
|
|
33
|
-
discriminator
|
|
34
|
-
globalName
|
|
35
|
-
avatar
|
|
31
|
+
id: string;
|
|
32
|
+
username: string;
|
|
33
|
+
discriminator: string;
|
|
34
|
+
globalName: string | null;
|
|
35
|
+
avatar: string | null;
|
|
36
36
|
bot?: boolean | undefined;
|
|
37
37
|
system?: boolean | undefined;
|
|
38
38
|
mfaEnabled?: boolean | undefined;
|
|
@@ -18,11 +18,11 @@ export declare const MESSAGE_REACTION_ADD: (_self: BaseClient, data: GatewayMess
|
|
|
18
18
|
emoji: {
|
|
19
19
|
roles?: string[] | undefined;
|
|
20
20
|
user?: {
|
|
21
|
-
id
|
|
22
|
-
username
|
|
23
|
-
discriminator
|
|
24
|
-
globalName
|
|
25
|
-
avatar
|
|
21
|
+
id: string;
|
|
22
|
+
username: string;
|
|
23
|
+
discriminator: string;
|
|
24
|
+
globalName: string | null;
|
|
25
|
+
avatar: string | null;
|
|
26
26
|
bot?: boolean | undefined;
|
|
27
27
|
system?: boolean | undefined;
|
|
28
28
|
mfaEnabled?: boolean | undefined;
|
|
@@ -50,12 +50,12 @@ export declare const MESSAGE_REACTION_ADD: (_self: BaseClient, data: GatewayMess
|
|
|
50
50
|
user?: import("discord-api-types/v10").APIUser | undefined;
|
|
51
51
|
nick?: string | null | undefined;
|
|
52
52
|
avatar?: string | null | undefined;
|
|
53
|
-
roles
|
|
54
|
-
joinedAt
|
|
53
|
+
roles: string[];
|
|
54
|
+
joinedAt: string;
|
|
55
55
|
premiumSince?: string | null | undefined;
|
|
56
|
-
deaf
|
|
57
|
-
mute
|
|
58
|
-
flags
|
|
56
|
+
deaf: boolean;
|
|
57
|
+
mute: boolean;
|
|
58
|
+
flags: import("discord-api-types/v10").GuildMemberFlags;
|
|
59
59
|
pending?: boolean | undefined;
|
|
60
60
|
communicationDisabledUntil?: string | null | undefined;
|
|
61
61
|
} | undefined;
|
|
@@ -66,11 +66,11 @@ export declare const MESSAGE_REACTION_REMOVE: (_self: BaseClient, data: GatewayM
|
|
|
66
66
|
emoji: {
|
|
67
67
|
roles?: string[] | undefined;
|
|
68
68
|
user?: {
|
|
69
|
-
id
|
|
70
|
-
username
|
|
71
|
-
discriminator
|
|
72
|
-
globalName
|
|
73
|
-
avatar
|
|
69
|
+
id: string;
|
|
70
|
+
username: string;
|
|
71
|
+
discriminator: string;
|
|
72
|
+
globalName: string | null;
|
|
73
|
+
avatar: string | null;
|
|
74
74
|
bot?: boolean | undefined;
|
|
75
75
|
system?: boolean | undefined;
|
|
76
76
|
mfaEnabled?: boolean | undefined;
|
|
@@ -105,11 +105,11 @@ export declare const MESSAGE_REACTION_REMOVE_EMOJI: (_self: BaseClient, data: Ga
|
|
|
105
105
|
emoji: {
|
|
106
106
|
roles?: string[] | undefined;
|
|
107
107
|
user?: {
|
|
108
|
-
id
|
|
109
|
-
username
|
|
110
|
-
discriminator
|
|
111
|
-
globalName
|
|
112
|
-
avatar
|
|
108
|
+
id: string;
|
|
109
|
+
username: string;
|
|
110
|
+
discriminator: string;
|
|
111
|
+
globalName: string | null;
|
|
112
|
+
avatar: string | null;
|
|
113
113
|
bot?: boolean | undefined;
|
|
114
114
|
system?: boolean | undefined;
|
|
115
115
|
mfaEnabled?: boolean | undefined;
|
|
@@ -40,7 +40,7 @@ export declare const PRESENCE_UPDATE: (_self: BaseClient, data: GatewayPresenceU
|
|
|
40
40
|
emoji?: {
|
|
41
41
|
id?: string | null | undefined;
|
|
42
42
|
animated?: boolean | undefined;
|
|
43
|
-
name
|
|
43
|
+
name: string | null;
|
|
44
44
|
} | undefined;
|
|
45
45
|
sessionId?: string | undefined;
|
|
46
46
|
party?: {
|
|
@@ -48,8 +48,8 @@ export declare const THREAD_LIST_SYNC: (_self: BaseClient, data: GatewayThreadLi
|
|
|
48
48
|
}[];
|
|
49
49
|
defaultThreadRateLimitPerUser?: number | undefined;
|
|
50
50
|
defaultReactionEmoji: {
|
|
51
|
-
emojiId
|
|
52
|
-
emojiName
|
|
51
|
+
emojiId: string | null;
|
|
52
|
+
emojiName: string | null;
|
|
53
53
|
} | null;
|
|
54
54
|
defaultSortOrder: import("discord-api-types/v10").SortOrderType | null;
|
|
55
55
|
name: string;
|
|
@@ -147,8 +147,8 @@ export declare const THREAD_LIST_SYNC: (_self: BaseClient, data: GatewayThreadLi
|
|
|
147
147
|
}[];
|
|
148
148
|
defaultThreadRateLimitPerUser?: number | undefined;
|
|
149
149
|
defaultReactionEmoji: {
|
|
150
|
-
emojiId
|
|
151
|
-
emojiName
|
|
150
|
+
emojiId: string | null;
|
|
151
|
+
emojiName: string | null;
|
|
152
152
|
} | null;
|
|
153
153
|
defaultSortOrder: import("discord-api-types/v10").SortOrderType | null;
|
|
154
154
|
name: string;
|
|
@@ -232,14 +232,14 @@ export declare const THREAD_LIST_SYNC: (_self: BaseClient, data: GatewayThreadLi
|
|
|
232
232
|
member?: {
|
|
233
233
|
id?: string | undefined;
|
|
234
234
|
userId?: string | undefined;
|
|
235
|
-
joinTimestamp
|
|
236
|
-
flags
|
|
235
|
+
joinTimestamp: string;
|
|
236
|
+
flags: import("discord-api-types/v10").ThreadMemberFlags;
|
|
237
237
|
member?: import("discord-api-types/v10").APIGuildMember | undefined;
|
|
238
238
|
} | undefined;
|
|
239
239
|
threadMetadata?: {
|
|
240
|
-
archived
|
|
241
|
-
autoArchiveDuration
|
|
242
|
-
archiveTimestamp
|
|
240
|
+
archived: boolean;
|
|
241
|
+
autoArchiveDuration: import("discord-api-types/v10").ThreadAutoArchiveDuration;
|
|
242
|
+
archiveTimestamp: string;
|
|
243
243
|
locked?: boolean | undefined;
|
|
244
244
|
invitable?: boolean | undefined;
|
|
245
245
|
createTimestamp?: string | undefined;
|
|
@@ -276,12 +276,12 @@ export declare const THREAD_LIST_SYNC: (_self: BaseClient, data: GatewayThreadLi
|
|
|
276
276
|
user?: import("discord-api-types/v10").APIUser | undefined;
|
|
277
277
|
nick?: string | null | undefined;
|
|
278
278
|
avatar?: string | null | undefined;
|
|
279
|
-
roles
|
|
280
|
-
joinedAt
|
|
279
|
+
roles: string[];
|
|
280
|
+
joinedAt: string;
|
|
281
281
|
premiumSince?: string | null | undefined;
|
|
282
|
-
deaf
|
|
283
|
-
mute
|
|
284
|
-
flags
|
|
282
|
+
deaf: boolean;
|
|
283
|
+
mute: boolean;
|
|
284
|
+
flags: import("discord-api-types/v10").GuildMemberFlags;
|
|
285
285
|
pending?: boolean | undefined;
|
|
286
286
|
communicationDisabledUntil?: string | null | undefined;
|
|
287
287
|
} | undefined;
|
|
@@ -296,12 +296,12 @@ export declare const THREAD_MEMBER_UPDATE: (_self: BaseClient, data: GatewayThre
|
|
|
296
296
|
user?: import("discord-api-types/v10").APIUser | undefined;
|
|
297
297
|
nick?: string | null | undefined;
|
|
298
298
|
avatar?: string | null | undefined;
|
|
299
|
-
roles
|
|
300
|
-
joinedAt
|
|
299
|
+
roles: string[];
|
|
300
|
+
joinedAt: string;
|
|
301
301
|
premiumSince?: string | null | undefined;
|
|
302
|
-
deaf
|
|
303
|
-
mute
|
|
304
|
-
flags
|
|
302
|
+
deaf: boolean;
|
|
303
|
+
mute: boolean;
|
|
304
|
+
flags: import("discord-api-types/v10").GuildMemberFlags;
|
|
305
305
|
pending?: boolean | undefined;
|
|
306
306
|
communicationDisabledUntil?: string | null | undefined;
|
|
307
307
|
} | undefined;
|
|
@@ -320,12 +320,12 @@ export declare const THREAD_MEMBERS_UPDATE: (_self: BaseClient, data: GatewayThr
|
|
|
320
320
|
user?: import("discord-api-types/v10").APIUser | undefined;
|
|
321
321
|
nick?: string | null | undefined;
|
|
322
322
|
avatar?: string | null | undefined;
|
|
323
|
-
roles
|
|
324
|
-
joinedAt
|
|
323
|
+
roles: string[];
|
|
324
|
+
joinedAt: string;
|
|
325
325
|
premiumSince?: string | null | undefined;
|
|
326
|
-
deaf
|
|
327
|
-
mute
|
|
328
|
-
flags
|
|
326
|
+
deaf: boolean;
|
|
327
|
+
mute: boolean;
|
|
328
|
+
flags: import("discord-api-types/v10").GuildMemberFlags;
|
|
329
329
|
pending?: boolean | undefined;
|
|
330
330
|
communicationDisabledUntil?: string | null | undefined;
|
|
331
331
|
} | undefined;
|
|
@@ -10,12 +10,12 @@ export declare const TYPING_START: (self: BaseClient, data: GatewayTypingStartDi
|
|
|
10
10
|
user?: import("discord-api-types/v10").APIUser | undefined;
|
|
11
11
|
nick?: string | null | undefined;
|
|
12
12
|
avatar?: string | null | undefined;
|
|
13
|
-
roles
|
|
14
|
-
joinedAt
|
|
13
|
+
roles: string[];
|
|
14
|
+
joinedAt: string;
|
|
15
15
|
premiumSince?: string | null | undefined;
|
|
16
|
-
deaf
|
|
17
|
-
mute
|
|
18
|
-
flags
|
|
16
|
+
deaf: boolean;
|
|
17
|
+
mute: boolean;
|
|
18
|
+
flags: import("discord-api-types/v10").GuildMemberFlags;
|
|
19
19
|
pending?: boolean | undefined;
|
|
20
20
|
communicationDisabledUntil?: string | null | undefined;
|
|
21
21
|
} | undefined;
|
|
@@ -14,12 +14,12 @@ export declare const VOICE_STATE_UPDATE: (self: BaseClient, data: GatewayVoiceSt
|
|
|
14
14
|
user?: import("discord-api-types/v10").APIUser | undefined;
|
|
15
15
|
nick?: string | null | undefined;
|
|
16
16
|
avatar?: string | null | undefined;
|
|
17
|
-
roles
|
|
18
|
-
joinedAt
|
|
17
|
+
roles: string[];
|
|
18
|
+
joinedAt: string;
|
|
19
19
|
premiumSince?: string | null | undefined;
|
|
20
|
-
deaf
|
|
21
|
-
mute
|
|
22
|
-
flags
|
|
20
|
+
deaf: boolean;
|
|
21
|
+
mute: boolean;
|
|
22
|
+
flags: import("discord-api-types/v10").GuildMemberFlags;
|
|
23
23
|
pending?: boolean | undefined;
|
|
24
24
|
communicationDisabledUntil?: string | null | undefined;
|
|
25
25
|
} | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seyfert",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "The most advanced framework for discord bots",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -71,4 +71,4 @@
|
|
|
71
71
|
"url": "https://github.com/socram03"
|
|
72
72
|
}
|
|
73
73
|
]
|
|
74
|
-
}
|
|
74
|
+
}
|