diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-08-16 22:35:46 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-08-16 22:35:47 -0400 |
| commit | e0a9b18f45858829f88cbe20611aaf696fc5bf6a (patch) | |
| tree | baef5abb258a7857fabb3f084627acd9a469677f /src/commands/mod.rs | |
| parent | ef056edf92b678265a4666e1f9405e3b0ce66a42 (diff) | |
restore support for volume commands
Diffstat (limited to 'src/commands/mod.rs')
| -rw-r--r-- | src/commands/mod.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 2729580..b0ef83b 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -19,8 +19,14 @@ pub(crate) mod today; pub use self::meme::*; pub fn commands() -> Vec<poise::Command<crate::PoiseData, anyhow::Error>> { - let mut commands = - vec![sound_levels::mute(), sound_levels::unmute(), roll::roll(), today::today(), help()]; + let mut commands = vec![ + sound_levels::mute(), + sound_levels::unmute(), + sound_levels::volume(), + roll::roll(), + today::today(), + help(), + ]; commands.extend(playback::commands()); |
