Skip to main content

djs_builders/
lib.rs

1#![doc = include_str!("../README.md")]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3
4mod check;
5mod command;
6mod component;
7mod embed;
8mod error;
9
10pub use self::{
11    command::{
12        ContextMenuCommandBuilder, SlashCommandAttachmentOption, SlashCommandBooleanOption,
13        SlashCommandBuilder, SlashCommandChannelOption, SlashCommandIntegerOption,
14        SlashCommandMentionableOption, SlashCommandNumberOption, SlashCommandRoleOption,
15        SlashCommandStringOption, SlashCommandSubcommandBuilder,
16        SlashCommandSubcommandGroupBuilder, SlashCommandUserOption,
17    },
18    component::{
19        ActionRowBuilder, ButtonBuilder, ChannelSelectMenuBuilder, CheckboxBuilder,
20        CheckboxGroupBuilder, CheckboxGroupOptionBuilder, ComponentsVersion, ContainerBuilder,
21        FileBuilder, FileUploadBuilder, LabelBuilder, MediaGalleryBuilder, MediaGalleryItemBuilder,
22        MentionableSelectMenuBuilder, ModalBuilder, PremiumButtonBuilder, RadioGroupBuilder,
23        RadioGroupOptionBuilder, RoleSelectMenuBuilder, SectionBuilder, SeparatorBuilder,
24        StringSelectMenuBuilder, StringSelectMenuOptionBuilder, TextDisplayBuilder,
25        TextInputBuilder, ThumbnailBuilder, UserSelectMenuBuilder, validate_components,
26    },
27    embed::{EmbedAuthorBuilder, EmbedBuilder, EmbedFooterBuilder, embed_length, validate_embeds},
28    error::ValidationError,
29};