@discordjs/builders 1.3.0-dev.1663934666-abb7226.0 → 1.3.0-dev.1664151194-3c231ae.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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -1206,7 +1206,7 @@ declare class SlashCommandBooleanOption extends ApplicationCommandOptionBase {
|
|
|
1206
1206
|
toJSON(): APIApplicationCommandBooleanOption;
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
|
-
declare const allowedChannelTypes: readonly [ChannelType.GuildText, ChannelType.GuildVoice, ChannelType.GuildCategory, ChannelType.GuildAnnouncement, ChannelType.AnnouncementThread, ChannelType.PublicThread, ChannelType.PrivateThread, ChannelType.GuildStageVoice];
|
|
1209
|
+
declare const allowedChannelTypes: readonly [ChannelType.GuildText, ChannelType.GuildVoice, ChannelType.GuildCategory, ChannelType.GuildAnnouncement, ChannelType.AnnouncementThread, ChannelType.PublicThread, ChannelType.PrivateThread, ChannelType.GuildStageVoice, ChannelType.GuildForum];
|
|
1210
1210
|
declare type ApplicationCommandOptionAllowedChannelTypes = typeof allowedChannelTypes[number];
|
|
1211
1211
|
declare class ApplicationCommandOptionChannelTypesMixin {
|
|
1212
1212
|
readonly channel_types?: ApplicationCommandOptionAllowedChannelTypes[];
|
package/dist/index.js
CHANGED
|
@@ -1013,7 +1013,8 @@ var allowedChannelTypes = [
|
|
|
1013
1013
|
import_v1011.ChannelType.AnnouncementThread,
|
|
1014
1014
|
import_v1011.ChannelType.PublicThread,
|
|
1015
1015
|
import_v1011.ChannelType.PrivateThread,
|
|
1016
|
-
import_v1011.ChannelType.GuildStageVoice
|
|
1016
|
+
import_v1011.ChannelType.GuildStageVoice,
|
|
1017
|
+
import_v1011.ChannelType.GuildForum
|
|
1017
1018
|
];
|
|
1018
1019
|
var channelTypesPredicate = import_shapeshift6.s.array(import_shapeshift6.s.union(...allowedChannelTypes.map((type) => import_shapeshift6.s.literal(type))));
|
|
1019
1020
|
var ApplicationCommandOptionChannelTypesMixin = class {
|