1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//! A set of builders used to make using methods on certain structs simpler to
//! use.
//!
//! These are used when not all parameters are required, all parameters are
//! optional, and/or sane default values for required parameters can be applied
//! by a builder.

mod create_channel;
mod create_embed;

#[cfg(feature = "unstable_discord_api")]
mod create_application_command;
#[cfg(feature = "unstable_discord_api")]
mod create_application_command_permission;

mod bot_auth_parameters;
mod create_allowed_mentions;
#[cfg(feature = "unstable_discord_api")]
mod create_components;
#[cfg(feature = "unstable_discord_api")]
mod create_interaction_response;
#[cfg(feature = "unstable_discord_api")]
mod create_interaction_response_followup;
mod create_invite;
mod create_message;
mod create_stage_instance;
mod create_thread;
mod edit_channel;
mod edit_guild;
mod edit_guild_welcome_screen;
mod edit_guild_widget;
#[cfg(feature = "unstable_discord_api")]
mod edit_interaction_response;
mod edit_member;
mod edit_message;
mod edit_profile;
mod edit_role;
mod edit_stage_instance;
mod edit_thread;
mod edit_voice_state;
mod edit_webhook_message;
mod execute_webhook;
mod get_messages;

pub use self::{
    bot_auth_parameters::CreateBotAuthParameters,
    create_allowed_mentions::CreateAllowedMentions,
    create_allowed_mentions::ParseValue,
    create_channel::CreateChannel,
    create_embed::{CreateEmbed, CreateEmbedAuthor, CreateEmbedFooter, Timestamp},
    create_invite::CreateInvite,
    create_message::CreateMessage,
    create_stage_instance::CreateStageInstance,
    create_thread::CreateThread,
    edit_channel::EditChannel,
    edit_guild::EditGuild,
    edit_guild_welcome_screen::EditGuildWelcomeScreen,
    edit_guild_widget::EditGuildWidget,
    edit_member::EditMember,
    edit_message::EditMessage,
    edit_profile::EditProfile,
    edit_role::EditRole,
    edit_stage_instance::EditStageInstance,
    edit_thread::EditThread,
    edit_voice_state::EditVoiceState,
    edit_webhook_message::EditWebhookMessage,
    execute_webhook::ExecuteWebhook,
    get_messages::GetMessages,
};
#[cfg(feature = "unstable_discord_api")]
pub use self::{
    create_application_command::{
        CreateApplicationCommand,
        CreateApplicationCommandOption,
        CreateApplicationCommands,
    },
    create_application_command_permission::{
        CreateApplicationCommandPermissionData,
        CreateApplicationCommandPermissions,
        CreateApplicationCommandPermissionsData,
        CreateApplicationCommandsPermissions,
    },
    create_components::{
        CreateActionRow,
        CreateButton,
        CreateComponents,
        CreateSelectMenu,
        CreateSelectMenuOption,
        CreateSelectMenuOptions,
    },
    create_interaction_response::{
        CreateAutocompleteResponse,
        CreateInteractionResponse,
        CreateInteractionResponseData,
    },
    create_interaction_response_followup::CreateInteractionResponseFollowup,
    edit_interaction_response::EditInteractionResponse,
};