Make botrulez submodules public
This allows users of the library to use the commands' Args structs.
This commit is contained in:
parent
8506a231dd
commit
f973a819b6
3 changed files with 12 additions and 5 deletions
|
|
@ -1,8 +1,8 @@
|
|||
//! The main [botrulez](https://github.com/jedevc/botrulez) commands.
|
||||
mod full_help;
|
||||
mod ping;
|
||||
mod short_help;
|
||||
mod uptime;
|
||||
pub mod full_help;
|
||||
pub mod ping;
|
||||
pub mod short_help;
|
||||
pub mod uptime;
|
||||
|
||||
pub use self::full_help::{FullHelp, HasDescriptions};
|
||||
pub use self::ping::Ping;
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ where
|
|||
pub struct Args {
|
||||
/// Show how long the bot has been connected without interruption.
|
||||
#[arg(long, short)]
|
||||
connected: bool,
|
||||
pub connected: bool,
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue