oceanic.js 1.1.1-dev.50fea32 → 1.1.1-dev.51a0d21
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/dist/lib/gateway/Shard.js +51 -11
- package/dist/lib/routes/Guilds.d.ts +1 -1
- package/dist/lib/routes/Guilds.js +1 -1
- package/dist/lib/structures/ForumChannel.d.ts +1 -1
- package/dist/lib/structures/ForumChannel.js +2 -1
- package/dist/lib/structures/InteractionResolvedChannel.d.ts +1 -1
- package/dist/lib/structures/ThreadChannel.d.ts +2 -5
- package/dist/lib/structures/ThreadChannel.js +1 -1
- package/dist/lib/structures/VoiceChannel.d.ts +2 -0
- package/dist/lib/structures/VoiceChannel.js +5 -1
- package/dist/lib/types/channels.d.ts +6 -3
- package/dist/lib/types/events.d.ts +3 -1
- package/dist/lib/types/json.d.ts +2 -1
- package/dist/package.json +1 -1
- package/esm.mjs +134 -3
- package/index.js +1 -1
- package/package.json +1 -1
package/esm.mjs
CHANGED
|
@@ -1,3 +1,134 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// Channel and Interaction MUST be at the top due to circular imports
|
|
2
|
+
const Channel = (await import("./dist/lib/structures/Channel.js")).default.default;
|
|
3
|
+
const Interaction = (await import("./dist/lib/structures/Interaction.js")).default.default;
|
|
4
|
+
const AnnouncementChannel = (await import("./dist/lib/structures/AnnouncementChannel.js")).default.default;
|
|
5
|
+
const AnnouncementThreadChannel = (await import("./dist/lib/structures/AnnouncementThreadChannel.js")).default.default;
|
|
6
|
+
const Application = (await import("./dist/lib/structures/Application.js")).default.default;
|
|
7
|
+
const ApplicationCommand = (await import("./dist/lib/structures/ApplicationCommand.js")).default.default;
|
|
8
|
+
const Attachment = (await import("./dist/lib/structures/Attachment.js")).default.default;
|
|
9
|
+
const AuditLogEntry = (await import("./dist/lib/structures/AuditLogEntry.js")).default.default;
|
|
10
|
+
const AutocompleteInteraction = (await import("./dist/lib/structures/AutocompleteInteraction.js")).default.default;
|
|
11
|
+
const AutoModerationRule = (await import("./dist/lib/structures/AutoModerationRule.js")).default.default;
|
|
12
|
+
const Base = (await import("./dist/lib/structures/Base.js")).default.default;
|
|
13
|
+
const Bucket = (await import("./dist/lib/rest/Bucket.js")).default.default;
|
|
14
|
+
const CategoryChannel = (await import("./dist/lib/structures/CategoryChannel.js")).default.default;
|
|
15
|
+
const Client = (await import("./dist/lib/Client.js")).default.default;
|
|
16
|
+
const ClientApplication = (await import("./dist/lib/structures/ClientApplication.js")).default.default;
|
|
17
|
+
const Constants = (await import("./dist/lib/Constants.js")).default;
|
|
18
|
+
const CommandInteraction = (await import("./dist/lib/structures/CommandInteraction.js")).default.default;
|
|
19
|
+
const Collection = (await import("./dist/lib/util/Collection.js")).default.default;
|
|
20
|
+
const ComponentInteraction = (await import("./dist/lib/structures/ComponentInteraction.js")).default.default;
|
|
21
|
+
const DiscordHTTPError = (await import("./dist/lib/rest/DiscordHTTPError.js")).default.default;
|
|
22
|
+
const DiscordRESTError = (await import("./dist/lib/rest/DiscordRESTError.js")).default.default;
|
|
23
|
+
const ExtendedUser = (await import("./dist/lib/structures/ExtendedUser.js")).default.default;
|
|
24
|
+
const ForumChannel = (await import("./dist/lib/structures/ForumChannel.js")).default.default;
|
|
25
|
+
const GatewayError = (await import("./dist/lib/gateway/GatewayError.js")).default.default;
|
|
26
|
+
const GroupChannel = (await import("./dist/lib/structures/GroupChannel.js")).default.default;
|
|
27
|
+
const Guild = (await import("./dist/lib/structures/Guild.js")).default.default;
|
|
28
|
+
const GuildChannel = (await import("./dist/lib/structures/GuildChannel.js")).default.default;
|
|
29
|
+
const GuildPreview = (await import("./dist/lib/structures/GuildPreview.js")).default.default;
|
|
30
|
+
const GuildScheduledEvent = (await import("./dist/lib/structures/GuildScheduledEvent.js")).default.default;
|
|
31
|
+
const GuildTemplate = (await import("./dist/lib/structures/GuildTemplate.js")).default.default;
|
|
32
|
+
const Integration = (await import("./dist/lib/structures/Integration.js")).default.default;
|
|
33
|
+
const InteractionResolvedChannel = (await import("./dist/lib/structures/InteractionResolvedChannel.js")).default.default;
|
|
34
|
+
const InteractionOptionsWrapper = (await import("./dist/lib/util/InteractionOptionsWrapper.js")).default.default;
|
|
35
|
+
const Invite = (await import("./dist/lib/structures/Invite.js")).default.default;
|
|
36
|
+
const Member = (await import("./dist/lib/structures/Member.js")).default.default;
|
|
37
|
+
const Message = (await import("./dist/lib/structures/Message.js")).default.default;
|
|
38
|
+
const ModalSubmitInteraction = (await import("./dist/lib/structures/ModalSubmitInteraction.js")).default.default;
|
|
39
|
+
const PartialApplication = (await import("./dist/lib/structures/PartialApplication.js")).default.default;
|
|
40
|
+
const Permission = (await import("./dist/lib/structures/Permission.js")).default.default;
|
|
41
|
+
const PermissionOverwrite = (await import("./dist/lib/structures/PermissionOverwrite.js")).default.default;
|
|
42
|
+
const PingInteraction = (await import("./dist/lib/structures/PingInteraction.js")).default.default;
|
|
43
|
+
const PrivateChannel = (await import("./dist/lib/structures/PrivateChannel.js")).default.default;
|
|
44
|
+
const PrivateThreadChannel = (await import("./dist/lib/structures/PrivateThreadChannel.js")).default.default;
|
|
45
|
+
const PublicThreadChannel = (await import("./dist/lib/structures/PublicThreadChannel.js")).default.default;
|
|
46
|
+
const RESTManager = (await import("./dist/lib/rest/RESTManager.js")).default.default;
|
|
47
|
+
const Role = (await import("./dist/lib/structures/Role.js")).default.default;
|
|
48
|
+
const Routes = (await import("./dist/lib/util/Routes.js")).default;
|
|
49
|
+
const SequentialBucket = (await import("./dist/lib/rest/SequentialBucket.js")).default.default;
|
|
50
|
+
const Shard = (await import("./dist/lib/gateway/Shard.js")).default.default;
|
|
51
|
+
const ShardManager = (await import("./dist/lib/gateway/ShardManager.js")).default.default;
|
|
52
|
+
const StageChannel = (await import("./dist/lib/structures/StageChannel.js")).default.default;
|
|
53
|
+
const StageInstance = (await import("./dist/lib/structures/StageInstance.js")).default.default;
|
|
54
|
+
const Team = (await import("./dist/lib/structures/Team.js")).default.default;
|
|
55
|
+
const TextableChannel = (await import("./dist/lib/structures/TextableChannel.js")).default.default;
|
|
56
|
+
const TextChannel = (await import("./dist/lib/structures/TextChannel.js")).default.default;
|
|
57
|
+
const ThreadChannel = (await import("./dist/lib/structures/ThreadChannel.js")).default.default;
|
|
58
|
+
const TypedCollection = (await import("./dist/lib/util/TypedCollection.js")).default.default;
|
|
59
|
+
const TypedEmitter = (await import("./dist/lib/util/TypedEmitter.js")).default.default;
|
|
60
|
+
const UnavailableGuild = (await import("./dist/lib/structures/UnavailableGuild.js")).default.default;
|
|
61
|
+
const User = (await import("./dist/lib/structures/User.js")).default.default;
|
|
62
|
+
const Util = (await import("./dist/lib/util/Util.js")).default.default;
|
|
63
|
+
const VoiceChannel = (await import("./dist/lib/structures/VoiceChannel.js")).default.default;
|
|
64
|
+
const VoiceState = (await import("./dist/lib/structures/VoiceState.js")).default.default;
|
|
65
|
+
const Webhook = (await import("./dist/lib/structures/Webhook.js")).default.default;
|
|
66
|
+
|
|
67
|
+
export * from "./dist/lib/Constants.js";
|
|
68
|
+
|
|
69
|
+
export {
|
|
70
|
+
Channel,
|
|
71
|
+
Interaction,
|
|
72
|
+
AnnouncementChannel,
|
|
73
|
+
AnnouncementThreadChannel,
|
|
74
|
+
Application,
|
|
75
|
+
ApplicationCommand,
|
|
76
|
+
Attachment,
|
|
77
|
+
AuditLogEntry,
|
|
78
|
+
AutocompleteInteraction,
|
|
79
|
+
AutoModerationRule,
|
|
80
|
+
Base,
|
|
81
|
+
Bucket,
|
|
82
|
+
CategoryChannel,
|
|
83
|
+
Client,
|
|
84
|
+
ClientApplication,
|
|
85
|
+
Constants,
|
|
86
|
+
CommandInteraction,
|
|
87
|
+
Collection,
|
|
88
|
+
ComponentInteraction,
|
|
89
|
+
DiscordHTTPError,
|
|
90
|
+
DiscordRESTError,
|
|
91
|
+
ExtendedUser,
|
|
92
|
+
ForumChannel,
|
|
93
|
+
GatewayError,
|
|
94
|
+
GroupChannel,
|
|
95
|
+
Guild,
|
|
96
|
+
GuildChannel,
|
|
97
|
+
GuildPreview,
|
|
98
|
+
GuildScheduledEvent,
|
|
99
|
+
GuildTemplate,
|
|
100
|
+
Integration,
|
|
101
|
+
InteractionResolvedChannel,
|
|
102
|
+
InteractionOptionsWrapper,
|
|
103
|
+
Invite,
|
|
104
|
+
Member,
|
|
105
|
+
Message,
|
|
106
|
+
ModalSubmitInteraction,
|
|
107
|
+
PartialApplication,
|
|
108
|
+
Permission,
|
|
109
|
+
PermissionOverwrite,
|
|
110
|
+
PingInteraction,
|
|
111
|
+
PrivateChannel,
|
|
112
|
+
PrivateThreadChannel,
|
|
113
|
+
PublicThreadChannel,
|
|
114
|
+
RESTManager,
|
|
115
|
+
Role,
|
|
116
|
+
Routes,
|
|
117
|
+
SequentialBucket,
|
|
118
|
+
Shard,
|
|
119
|
+
ShardManager,
|
|
120
|
+
StageChannel,
|
|
121
|
+
StageInstance,
|
|
122
|
+
Team,
|
|
123
|
+
TextableChannel,
|
|
124
|
+
TextChannel,
|
|
125
|
+
ThreadChannel,
|
|
126
|
+
TypedCollection,
|
|
127
|
+
TypedEmitter,
|
|
128
|
+
UnavailableGuild,
|
|
129
|
+
User,
|
|
130
|
+
Util,
|
|
131
|
+
VoiceChannel,
|
|
132
|
+
VoiceState,
|
|
133
|
+
Webhook
|
|
134
|
+
};
|
package/index.js
CHANGED