stat_summoner/module/randomchampions/
mod.rs

1/// 🛠 **Module commands**: Contains all bot commands for the Discord bot.
2///
3/// This module organizes the different commands used by the bot. Each command is stored in its own file
4/// within the `commands` directory. These commands are registered and used through the bot's interaction
5/// with Discord via the Poise framework.
6///
7/// # Files in this module:
8/// - `randomchampions.rs`: The command for selecting a random League of Legends champion and displaying its information.
9///
10/// # Example:
11/// To use the command in this module, ensure it is registered in the bot's main framework setup:
12///
13/// ```rust
14/// use commands::randomchampions::randomchampions;
15///
16/// #[shuttle_runtime::main]
17/// async fn main() {
18///     let framework = poise::Framework::builder()
19///         .options(poise::FrameworkOptions {
20///             commands: vec![randomchampions()], // Register the randomchampions command
21///             ..Default::default()
22///         })
23///         .build();
24/// }
25/// ```
26///
27/// As more commands are added, they will be included here and imported into the main bot setup.
28pub mod randomchampions;
29pub mod utils;