disgroove 3.0.0-dev.fd521a8 → 3.0.1-dev.24a02ed
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/LICENSE +9 -9
- package/README.md +48 -48
- package/dist/lib/Client.d.ts +68 -58
- package/dist/lib/Client.js +59 -23
- package/dist/lib/constants.d.ts +17 -4
- package/dist/lib/constants.js +18 -4
- package/dist/lib/gateway/Dispatcher.d.ts +104 -0
- package/dist/lib/gateway/Dispatcher.js +472 -0
- package/dist/lib/gateway/Shard.d.ts +10 -22
- package/dist/lib/gateway/Shard.js +123 -656
- package/dist/lib/gateway/Transmitter.d.ts +22 -0
- package/dist/lib/gateway/Transmitter.js +93 -0
- package/dist/lib/rest/Endpoints.d.ts +3 -0
- package/dist/lib/rest/Endpoints.js +10 -3
- package/dist/lib/rest/RequestManager.js +21 -7
- package/dist/lib/rest/index.js +17 -7
- package/dist/lib/transformers/Components.d.ts +3 -1
- package/dist/lib/transformers/Components.js +26 -0
- package/dist/lib/transformers/Guilds.d.ts +2 -0
- package/dist/lib/transformers/Guilds.js +134 -0
- package/dist/lib/transformers/Interactions.js +30 -0
- package/dist/lib/transformers/Invites.js +2 -2
- package/dist/lib/transformers/Presences.d.ts +3 -3
- package/dist/lib/types/components.d.ts +36 -4
- package/dist/lib/types/gateway-events.d.ts +203 -75
- package/dist/lib/types/interaction.d.ts +3 -3
- package/dist/lib/types/invite.d.ts +5 -2
- package/dist/lib/utils/errors.d.ts +3 -1
- package/dist/lib/utils/errors.js +4 -0
- package/dist/lib/utils/formatters.js +9 -10
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/lib/utils/index.js +18 -7
- package/dist/lib/utils/permissions.d.ts +2 -0
- package/dist/lib/utils/permissions.js +7 -0
- package/dist/package.json +5 -5
- package/package.json +6 -6
- package/dist/lib/types/message-components.d.ts +0 -450
- package/dist/lib/types/message-components.js +0 -2
package/dist/lib/constants.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/** https://discord.com/developers/docs/reference#message-formatting-timestamp-styles */
|
|
2
2
|
export declare enum TimestampStyles {
|
|
3
3
|
ShortTime = "t",
|
|
4
|
-
|
|
4
|
+
MediumTime = "T",
|
|
5
5
|
ShortDate = "d",
|
|
6
6
|
LongDate = "D",
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
LongDateShortTime = "f",
|
|
8
|
+
FullDateShortTime = "F",
|
|
9
|
+
ShortDateShortTime = "s",
|
|
10
|
+
ShortDateMediumTime = "S",
|
|
9
11
|
RelativeTime = "R"
|
|
10
12
|
}
|
|
11
13
|
/** https://discord.com/developers/docs/reference#message-formatting-guild-navigation-types */
|
|
@@ -135,7 +137,8 @@ export declare enum ComponentTypes {
|
|
|
135
137
|
File = 13,
|
|
136
138
|
Separator = 14,
|
|
137
139
|
Container = 17,
|
|
138
|
-
Label = 18
|
|
140
|
+
Label = 18,
|
|
141
|
+
FileUpload = 19
|
|
139
142
|
}
|
|
140
143
|
/** https://discord.com/developers/docs/components/reference#button-button-styles */
|
|
141
144
|
export declare enum ButtonStyles {
|
|
@@ -519,6 +522,13 @@ export declare enum InviteTargetTypes {
|
|
|
519
522
|
export declare enum GuildInviteFlags {
|
|
520
523
|
IsGuestInvite = 1
|
|
521
524
|
}
|
|
525
|
+
/** https://discord.com/developers/docs/resources/invite#get-target-users-job-status-error-codes */
|
|
526
|
+
export declare enum InviteTargetUsersJobStatusErrorCodes {
|
|
527
|
+
Unspecified = 0,
|
|
528
|
+
Processing = 1,
|
|
529
|
+
Completed = 2,
|
|
530
|
+
Failed = 3
|
|
531
|
+
}
|
|
522
532
|
/** https://discord.com/developers/docs/resources/lobby#lobby-member-object-lobby-member-flags */
|
|
523
533
|
export declare enum LobbyMemberFlags {
|
|
524
534
|
CanLinkLobby = 1
|
|
@@ -1009,6 +1019,8 @@ export declare enum JSONErrorCodes {
|
|
|
1009
1019
|
UnknownGuildScheduledEventUser = 10071,
|
|
1010
1020
|
UnknownTag = 10087,
|
|
1011
1021
|
UnknownSound = 10091,
|
|
1022
|
+
UnknownInviteTargetUsersJob = 10124,
|
|
1023
|
+
UnknownInviteTargetUsers = 10129,
|
|
1012
1024
|
BotsCannotUseThisEndpoint = 20001,
|
|
1013
1025
|
OnlyBotsCanUseThisEndpoint = 20002,
|
|
1014
1026
|
ExplicitContentCannotBeSentToTheDesiredRecipient = 20009,
|
|
@@ -1269,6 +1281,7 @@ export declare const BitwisePermissionFlags: {
|
|
|
1269
1281
|
readonly SendPolls: bigint;
|
|
1270
1282
|
readonly UseExternalApps: bigint;
|
|
1271
1283
|
readonly PinMessages: bigint;
|
|
1284
|
+
readonly BypassSlowmode: bigint;
|
|
1272
1285
|
};
|
|
1273
1286
|
/** https://discord.com/developers/docs/topics/permissions#role-object-role-flags */
|
|
1274
1287
|
export declare enum RoleFlags {
|
package/dist/lib/constants.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GuildScheduledEventRecurrenceRuleMonth = exports.GuildScheduledEventRecurrenceRuleWeekday = exports.GuildScheduledEventRecurrenceRuleFrequency = exports.GuildScheduledEventStatus = exports.GuildScheduledEventEntityTypes = exports.GuildScheduledEventPrivacyLevel = exports.ImageWidgetStyleOptions = exports.PromptTypes = exports.OnboardingMode = exports.IntegrationExpireBehaviors = exports.GuildMemberFlags = exports.MutableGuildFeatures = exports.GuildFeatures = exports.SystemChannelFlags = exports.PremiumTier = exports.GuildNSFWLevel = exports.VerificationLevel = exports.MFALevel = exports.ExplicitContentFilterLevel = exports.DefaultMessageNotificationLevel = exports.ForumLayoutTypes = exports.SortOrderTypes = exports.ChannelFlags = exports.VideoQualityModes = exports.ChannelTypes = exports.ActionTypes = exports.EventTypes = exports.KeywordPresetTypes = exports.TriggerTypes = exports.AuditLogEvents = exports.ApplicationRoleConnectionMetadataType = exports.ActivityLocationKind = exports.ApplicationFlags = exports.ApplicationEventWebhookStatus = exports.ApplicationIntegrationTypes = exports.SeparatorSpacing = exports.TextInputStyles = exports.ButtonStyles = exports.ComponentTypes = exports.InteractionCallbackType = exports.InteractionContextTypes = exports.InteractionType = exports.ApplicationCommandPermissionType = exports.EntryPointCommandHandlerTypes = exports.ApplicationCommandOptionType = exports.ApplicationCommandTypes = exports.Locales = exports.ImageFormats = exports.GuildNavigationTypes = exports.TimestampStyles = void 0;
|
|
4
|
-
exports.EntitlementTypes = exports.SKUFlags = exports.SKUTypes = exports.MembershipState = exports.TeamMemberRoleTypes = exports.RoleFlags = exports.BitwisePermissionFlags = exports.RPCCloseEventCodes = exports.RPCErrorCodes = exports.JSONErrorCodes = exports.HTTPResponseCodes = exports.VoiceCloseEventCodes = exports.VoiceOPCodes = exports.GatewayCloseEventCodes = exports.GatewayOPCodes = exports.OAuth2Scopes = exports.AnimationTypes = exports.ActivityFlags = exports.ActivityType = exports.GatewayEvents = exports.StatusTypes = exports.GatewayIntents = exports.DeviceType = exports.WebhookTypes = exports.SubscriptionStatuses = exports.VisibilityTypes = exports.Services = exports.PremiumTypes = exports.UserFlags = exports.StickerFormatTypes = exports.StickerTypes = exports.PrivacyLevel = exports.LayoutType = exports.ReactionTypes = exports.AllowedMentionTypes = exports.AttachmentFlags = exports.EmbedTypes = exports.MessageReferenceTypes = exports.MessageFlags = exports.MessageActivityTypes = exports.MessageTypes = exports.LobbyMemberFlags = exports.GuildInviteFlags = exports.InviteTargetTypes = exports.InviteTypes = void 0;
|
|
4
|
+
exports.EntitlementTypes = exports.SKUFlags = exports.SKUTypes = exports.MembershipState = exports.TeamMemberRoleTypes = exports.RoleFlags = exports.BitwisePermissionFlags = exports.RPCCloseEventCodes = exports.RPCErrorCodes = exports.JSONErrorCodes = exports.HTTPResponseCodes = exports.VoiceCloseEventCodes = exports.VoiceOPCodes = exports.GatewayCloseEventCodes = exports.GatewayOPCodes = exports.OAuth2Scopes = exports.AnimationTypes = exports.ActivityFlags = exports.ActivityType = exports.GatewayEvents = exports.StatusTypes = exports.GatewayIntents = exports.DeviceType = exports.WebhookTypes = exports.SubscriptionStatuses = exports.VisibilityTypes = exports.Services = exports.PremiumTypes = exports.UserFlags = exports.StickerFormatTypes = exports.StickerTypes = exports.PrivacyLevel = exports.LayoutType = exports.ReactionTypes = exports.AllowedMentionTypes = exports.AttachmentFlags = exports.EmbedTypes = exports.MessageReferenceTypes = exports.MessageFlags = exports.MessageActivityTypes = exports.MessageTypes = exports.LobbyMemberFlags = exports.InviteTargetUsersJobStatusErrorCodes = exports.GuildInviteFlags = exports.InviteTargetTypes = exports.InviteTypes = void 0;
|
|
5
5
|
/** https://discord.com/developers/docs/reference#message-formatting-timestamp-styles */
|
|
6
6
|
var TimestampStyles;
|
|
7
7
|
(function (TimestampStyles) {
|
|
8
8
|
TimestampStyles["ShortTime"] = "t";
|
|
9
|
-
TimestampStyles["
|
|
9
|
+
TimestampStyles["MediumTime"] = "T";
|
|
10
10
|
TimestampStyles["ShortDate"] = "d";
|
|
11
11
|
TimestampStyles["LongDate"] = "D";
|
|
12
|
-
TimestampStyles["
|
|
13
|
-
TimestampStyles["
|
|
12
|
+
TimestampStyles["LongDateShortTime"] = "f";
|
|
13
|
+
TimestampStyles["FullDateShortTime"] = "F";
|
|
14
|
+
TimestampStyles["ShortDateShortTime"] = "s";
|
|
15
|
+
TimestampStyles["ShortDateMediumTime"] = "S";
|
|
14
16
|
TimestampStyles["RelativeTime"] = "R";
|
|
15
17
|
})(TimestampStyles || (exports.TimestampStyles = TimestampStyles = {}));
|
|
16
18
|
/** https://discord.com/developers/docs/reference#message-formatting-guild-navigation-types */
|
|
@@ -152,6 +154,7 @@ var ComponentTypes;
|
|
|
152
154
|
ComponentTypes[ComponentTypes["Separator"] = 14] = "Separator";
|
|
153
155
|
ComponentTypes[ComponentTypes["Container"] = 17] = "Container";
|
|
154
156
|
ComponentTypes[ComponentTypes["Label"] = 18] = "Label";
|
|
157
|
+
ComponentTypes[ComponentTypes["FileUpload"] = 19] = "FileUpload";
|
|
155
158
|
})(ComponentTypes || (exports.ComponentTypes = ComponentTypes = {}));
|
|
156
159
|
/** https://discord.com/developers/docs/components/reference#button-button-styles */
|
|
157
160
|
var ButtonStyles;
|
|
@@ -576,6 +579,14 @@ var GuildInviteFlags;
|
|
|
576
579
|
(function (GuildInviteFlags) {
|
|
577
580
|
GuildInviteFlags[GuildInviteFlags["IsGuestInvite"] = 1] = "IsGuestInvite";
|
|
578
581
|
})(GuildInviteFlags || (exports.GuildInviteFlags = GuildInviteFlags = {}));
|
|
582
|
+
/** https://discord.com/developers/docs/resources/invite#get-target-users-job-status-error-codes */
|
|
583
|
+
var InviteTargetUsersJobStatusErrorCodes;
|
|
584
|
+
(function (InviteTargetUsersJobStatusErrorCodes) {
|
|
585
|
+
InviteTargetUsersJobStatusErrorCodes[InviteTargetUsersJobStatusErrorCodes["Unspecified"] = 0] = "Unspecified";
|
|
586
|
+
InviteTargetUsersJobStatusErrorCodes[InviteTargetUsersJobStatusErrorCodes["Processing"] = 1] = "Processing";
|
|
587
|
+
InviteTargetUsersJobStatusErrorCodes[InviteTargetUsersJobStatusErrorCodes["Completed"] = 2] = "Completed";
|
|
588
|
+
InviteTargetUsersJobStatusErrorCodes[InviteTargetUsersJobStatusErrorCodes["Failed"] = 3] = "Failed";
|
|
589
|
+
})(InviteTargetUsersJobStatusErrorCodes || (exports.InviteTargetUsersJobStatusErrorCodes = InviteTargetUsersJobStatusErrorCodes = {}));
|
|
579
590
|
/** https://discord.com/developers/docs/resources/lobby#lobby-member-object-lobby-member-flags */
|
|
580
591
|
var LobbyMemberFlags;
|
|
581
592
|
(function (LobbyMemberFlags) {
|
|
@@ -1099,6 +1110,8 @@ var JSONErrorCodes;
|
|
|
1099
1110
|
JSONErrorCodes[JSONErrorCodes["UnknownGuildScheduledEventUser"] = 10071] = "UnknownGuildScheduledEventUser";
|
|
1100
1111
|
JSONErrorCodes[JSONErrorCodes["UnknownTag"] = 10087] = "UnknownTag";
|
|
1101
1112
|
JSONErrorCodes[JSONErrorCodes["UnknownSound"] = 10091] = "UnknownSound";
|
|
1113
|
+
JSONErrorCodes[JSONErrorCodes["UnknownInviteTargetUsersJob"] = 10124] = "UnknownInviteTargetUsersJob";
|
|
1114
|
+
JSONErrorCodes[JSONErrorCodes["UnknownInviteTargetUsers"] = 10129] = "UnknownInviteTargetUsers";
|
|
1102
1115
|
JSONErrorCodes[JSONErrorCodes["BotsCannotUseThisEndpoint"] = 20001] = "BotsCannotUseThisEndpoint";
|
|
1103
1116
|
JSONErrorCodes[JSONErrorCodes["OnlyBotsCanUseThisEndpoint"] = 20002] = "OnlyBotsCanUseThisEndpoint";
|
|
1104
1117
|
JSONErrorCodes[JSONErrorCodes["ExplicitContentCannotBeSentToTheDesiredRecipient"] = 20009] = "ExplicitContentCannotBeSentToTheDesiredRecipient";
|
|
@@ -1361,6 +1374,7 @@ exports.BitwisePermissionFlags = {
|
|
|
1361
1374
|
SendPolls: 1n << 49n,
|
|
1362
1375
|
UseExternalApps: 1n << 50n,
|
|
1363
1376
|
PinMessages: 1n << 51n,
|
|
1377
|
+
BypassSlowmode: 1n << 52n,
|
|
1364
1378
|
};
|
|
1365
1379
|
/** https://discord.com/developers/docs/topics/permissions#role-object-role-flags */
|
|
1366
1380
|
var RoleFlags;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { GatewayEvents } from "../constants";
|
|
2
|
+
import type { RawGuildApplicationCommandPermissions } from "../types/application-command";
|
|
3
|
+
import type { RawAuditLogEntry } from "../types/audit-log";
|
|
4
|
+
import type { RawAutoModerationRule } from "../types/auto-moderation";
|
|
5
|
+
import type { RawChannel, RawThreadMember } from "../types/channel";
|
|
6
|
+
import type { RawEntitlement } from "../types/entitlements";
|
|
7
|
+
import type { RawRateLimitedEvent, RawAutoModerationActionExecutionEvent, RawChannelPinsUpdateEvent, RawThreadListSyncEvent, RawThreadMemberUpdateEventExtra, RawThreadMembersUpdateEvent, RawGuildCreateEventExtra, RawGuildAuditLogEntryCreateExtra, RawGuildBanAddEvent, RawGuildBanRemoveEvent, RawGuildEmojisUpdateEvent, RawGuildStickersUpdateEvent, RawGuildIntegrationsUpdateEvent, RawGuildMemberAddEventExtra, RawGuildMemberRemoveEvent, RawGuildMemberUpdateEvent, RawGuildMembersChunkEvent, RawGuildRoleCreateEvent, RawGuildRoleUpdateEvent, RawGuildRoleDeleteEvent, RawGuildScheduledEventUserAddEvent, RawGuildScheduledEventUserRemoveEvent, RawGuildSoundboardSoundDeleteEvent, RawGuildSoundboardSoundsUpdateEvent, RawGuildSoundboardSoundsEvent, RawIntegrationCreateEventExtra, RawIntegrationUpdateEventExtra, RawIntegrationDeleteEvent, RawInviteCreateEvent, RawInviteDeleteEvent, RawMessageCreateEventExtra, RawMessageDeleteEvent, RawMessageDeleteBulkEvent, RawMessageReactionAddEvent, RawMessageReactionRemoveEvent, RawMessageReactionRemoveAllEvent, RawMessageReactionRemoveEmojiEvent, RawPresenceUpdateEvent, RawTypingStartEvent, RawVoiceChannelEffectSendEvent, RawVoiceServerUpdateEvent, RawWebhooksUpdateEvent, RawMessagePollVoteAddEvent, RawMessagePollVoteRemoveEvent, RawReadyEvent } from "../types/gateway-events";
|
|
8
|
+
import type { RawGuild, RawUnavailableGuild, RawGuildMember, RawIntegration } from "../types/guild";
|
|
9
|
+
import type { RawGuildScheduledEvent } from "../types/guild-scheduled-event";
|
|
10
|
+
import type { RawInteraction } from "../types/interaction";
|
|
11
|
+
import type { RawMessage } from "../types/message";
|
|
12
|
+
import type { RawSoundboardSound } from "../types/soundboard";
|
|
13
|
+
import type { RawStageInstance } from "../types/stage-instance";
|
|
14
|
+
import type { RawSubscription } from "../types/subscription";
|
|
15
|
+
import type { RawUser } from "../types/user";
|
|
16
|
+
import type { RawVoiceState } from "../types/voice";
|
|
17
|
+
import { Shard } from "./Shard";
|
|
18
|
+
export type DispatchHandler<T extends GatewayEvents> = (shard: Shard, data: DispatchEvents[T]) => void;
|
|
19
|
+
export declare class Dispatcher {
|
|
20
|
+
private shard;
|
|
21
|
+
constructor(shard: Shard);
|
|
22
|
+
dispatch<T extends GatewayEvents>(event: T, data: DispatchEvents[T]): void;
|
|
23
|
+
}
|
|
24
|
+
export declare const Handlers: {
|
|
25
|
+
[K in GatewayEvents]?: DispatchHandler<K>;
|
|
26
|
+
};
|
|
27
|
+
export interface DispatchEvents {
|
|
28
|
+
[GatewayEvents.Ready]: RawReadyEvent;
|
|
29
|
+
[GatewayEvents.Resumed]: [];
|
|
30
|
+
[GatewayEvents.RateLimited]: RawRateLimitedEvent;
|
|
31
|
+
[GatewayEvents.ApplicationCommandPermissionsUpdate]: RawGuildApplicationCommandPermissions;
|
|
32
|
+
[GatewayEvents.AutoModerationRuleCreate]: RawAutoModerationRule;
|
|
33
|
+
[GatewayEvents.AutoModerationRuleUpdate]: RawAutoModerationRule;
|
|
34
|
+
[GatewayEvents.AutoModerationRuleDelete]: RawAutoModerationRule;
|
|
35
|
+
[GatewayEvents.AutoModerationActionExecution]: RawAutoModerationActionExecutionEvent;
|
|
36
|
+
[GatewayEvents.ChannelCreate]: RawChannel;
|
|
37
|
+
[GatewayEvents.ChannelUpdate]: RawChannel;
|
|
38
|
+
[GatewayEvents.ChannelDelete]: RawChannel;
|
|
39
|
+
[GatewayEvents.ChannelPinsUpdate]: RawChannelPinsUpdateEvent;
|
|
40
|
+
[GatewayEvents.ThreadCreate]: RawChannel;
|
|
41
|
+
[GatewayEvents.ThreadUpdate]: RawChannel;
|
|
42
|
+
[GatewayEvents.ThreadDelete]: RawChannel;
|
|
43
|
+
[GatewayEvents.ThreadListSync]: RawThreadListSyncEvent;
|
|
44
|
+
[GatewayEvents.ThreadMemberUpdate]: RawThreadMember & RawThreadMemberUpdateEventExtra;
|
|
45
|
+
[GatewayEvents.ThreadMembersUpdate]: RawThreadMembersUpdateEvent;
|
|
46
|
+
[GatewayEvents.EntitlementCreate]: RawEntitlement;
|
|
47
|
+
[GatewayEvents.EntitlementUpdate]: RawEntitlement;
|
|
48
|
+
[GatewayEvents.EntitlementDelete]: RawEntitlement;
|
|
49
|
+
[GatewayEvents.GuildCreate]: (RawGuild & RawGuildCreateEventExtra) | RawUnavailableGuild;
|
|
50
|
+
[GatewayEvents.GuildUpdate]: RawGuild;
|
|
51
|
+
[GatewayEvents.GuildDelete]: RawUnavailableGuild;
|
|
52
|
+
[GatewayEvents.GuildAuditLogEntryCreate]: RawAuditLogEntry & RawGuildAuditLogEntryCreateExtra;
|
|
53
|
+
[GatewayEvents.GuildBanAdd]: RawGuildBanAddEvent;
|
|
54
|
+
[GatewayEvents.GuildBanRemove]: RawGuildBanRemoveEvent;
|
|
55
|
+
[GatewayEvents.GuildEmojisUpdate]: RawGuildEmojisUpdateEvent;
|
|
56
|
+
[GatewayEvents.GuildStickersUpdate]: RawGuildStickersUpdateEvent;
|
|
57
|
+
[GatewayEvents.GuildIntegrationsUpdate]: RawGuildIntegrationsUpdateEvent;
|
|
58
|
+
[GatewayEvents.GuildMemberAdd]: RawGuildMember & RawGuildMemberAddEventExtra;
|
|
59
|
+
[GatewayEvents.GuildMemberRemove]: RawGuildMemberRemoveEvent;
|
|
60
|
+
[GatewayEvents.GuildMemberUpdate]: RawGuildMemberUpdateEvent;
|
|
61
|
+
[GatewayEvents.GuildMembersChunk]: RawGuildMembersChunkEvent;
|
|
62
|
+
[GatewayEvents.GuildRoleCreate]: RawGuildRoleCreateEvent;
|
|
63
|
+
[GatewayEvents.GuildRoleUpdate]: RawGuildRoleUpdateEvent;
|
|
64
|
+
[GatewayEvents.GuildRoleDelete]: RawGuildRoleDeleteEvent;
|
|
65
|
+
[GatewayEvents.GuildScheduledEventCreate]: RawGuildScheduledEvent;
|
|
66
|
+
[GatewayEvents.GuildScheduledEventUpdate]: RawGuildScheduledEvent;
|
|
67
|
+
[GatewayEvents.GuildScheduledEventDelete]: RawGuildScheduledEvent;
|
|
68
|
+
[GatewayEvents.GuildScheduledEventUserAdd]: RawGuildScheduledEventUserAddEvent;
|
|
69
|
+
[GatewayEvents.GuildScheduledEventUserRemove]: RawGuildScheduledEventUserRemoveEvent;
|
|
70
|
+
[GatewayEvents.GuildSoundboardSoundCreate]: RawSoundboardSound;
|
|
71
|
+
[GatewayEvents.GuildSoundboardSoundUpdate]: RawSoundboardSound;
|
|
72
|
+
[GatewayEvents.GuildSoundboardSoundDelete]: RawGuildSoundboardSoundDeleteEvent;
|
|
73
|
+
[GatewayEvents.GuildSoundboardSoundsUpdate]: RawGuildSoundboardSoundsUpdateEvent;
|
|
74
|
+
[GatewayEvents.SoundboardSounds]: RawGuildSoundboardSoundsEvent;
|
|
75
|
+
[GatewayEvents.IntegrationCreate]: RawIntegration & RawIntegrationCreateEventExtra;
|
|
76
|
+
[GatewayEvents.IntegrationUpdate]: RawIntegration & RawIntegrationUpdateEventExtra;
|
|
77
|
+
[GatewayEvents.IntegrationDelete]: RawIntegrationDeleteEvent;
|
|
78
|
+
[GatewayEvents.InteractionCreate]: RawInteraction;
|
|
79
|
+
[GatewayEvents.InviteCreate]: RawInviteCreateEvent;
|
|
80
|
+
[GatewayEvents.InviteDelete]: RawInviteDeleteEvent;
|
|
81
|
+
[GatewayEvents.MessageCreate]: RawMessage & RawMessageCreateEventExtra;
|
|
82
|
+
[GatewayEvents.MessageUpdate]: RawMessage;
|
|
83
|
+
[GatewayEvents.MessageDelete]: RawMessageDeleteEvent;
|
|
84
|
+
[GatewayEvents.MessageDeleteBulk]: RawMessageDeleteBulkEvent;
|
|
85
|
+
[GatewayEvents.MessageReactionAdd]: RawMessageReactionAddEvent;
|
|
86
|
+
[GatewayEvents.MessageReactionRemove]: RawMessageReactionRemoveEvent;
|
|
87
|
+
[GatewayEvents.MessageReactionRemoveAll]: RawMessageReactionRemoveAllEvent;
|
|
88
|
+
[GatewayEvents.MessageReactionRemoveEmoji]: RawMessageReactionRemoveEmojiEvent;
|
|
89
|
+
[GatewayEvents.PresenceUpdate]: RawPresenceUpdateEvent;
|
|
90
|
+
[GatewayEvents.StageInstanceCreate]: RawStageInstance;
|
|
91
|
+
[GatewayEvents.StageInstanceUpdate]: RawStageInstance;
|
|
92
|
+
[GatewayEvents.StageInstanceDelete]: RawStageInstance;
|
|
93
|
+
[GatewayEvents.SubscriptionCreate]: RawSubscription;
|
|
94
|
+
[GatewayEvents.SubscriptionUpdate]: RawSubscription;
|
|
95
|
+
[GatewayEvents.SubscriptionDelete]: RawSubscription;
|
|
96
|
+
[GatewayEvents.TypingStart]: RawTypingStartEvent;
|
|
97
|
+
[GatewayEvents.UserUpdate]: RawUser;
|
|
98
|
+
[GatewayEvents.VoiceChannelEffectSend]: RawVoiceChannelEffectSendEvent;
|
|
99
|
+
[GatewayEvents.VoiceStateUpdate]: RawVoiceState;
|
|
100
|
+
[GatewayEvents.VoiceServerUpdate]: RawVoiceServerUpdateEvent;
|
|
101
|
+
[GatewayEvents.WebhooksUpdate]: RawWebhooksUpdateEvent;
|
|
102
|
+
[GatewayEvents.MessagePollVoteAdd]: RawMessagePollVoteAddEvent;
|
|
103
|
+
[GatewayEvents.MessagePollVoteRemove]: RawMessagePollVoteRemoveEvent;
|
|
104
|
+
}
|