stat_summoner/module/askingforflex/mod.rs
1/// 🛠**Module askingforflex**: Contains commands and utilities related to interaction with flex buttons.
2///
3/// This module provides functionality for handling interactions with flex buttons in a Discord bot context.
4/// It includes the `askingforflex` command, which allows users to interact with buttons and receive appropriate responses,
5/// as well as utility functions to support these interactions.
6///
7/// # Files in this module:
8/// - `askingforflex.rs`: The command for handling flex button interactions.
9/// - `interaction_flex_buttons.rs`: Functions and handlers for different flex button interactions.
10/// - `utils.rs`: Utility functions used by the `askingforflex` command and button interactions.
11///
12/// # Example:
13/// To use the commands in this module, ensure they are registered in the bot's main framework setup:
14///
15/// ```rust
16/// use module::askingforflex::askingforflex;
17///
18/// #[shuttle_runtime::main]
19/// async fn main() {
20/// let framework = poise::Framework::builder()
21/// .options(poise::FrameworkOptions {
22/// commands: vec![askingforflex()], // Register the askingforflex command
23/// ..Default::default()
24/// })
25/// .build();
26/// }
27/// ```
28///
29/// The `askingforflex` command allows users to interact with flex buttons and receive responses based on their interactions.
30/// The module includes handlers for different button interactions and utility functions to support these operations.
31/// The command and interactions are designed to enhance user engagement and provide a dynamic experience.
32///
33/// As more commands or utilities related to flex button interactions are added, they will be included here and imported into the main bot setup.
34pub mod askingforflex;
35pub mod interaction_flex_buttons;
36pub mod utils;