From 1a1b1b8144458f6723101207c03fe7be0b95c7e6 Mon Sep 17 00:00:00 2001 From: jude Date: Sun, 7 May 2023 20:53:16 +0100 Subject: [PATCH] Fix typo --- debian/postrm | 2 +- src/cmds/play.rs | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/debian/postrm b/debian/postrm index 4a7b2c8..a7831f7 100644 --- a/debian/postrm +++ b/debian/postrm @@ -5,7 +5,7 @@ set -e id -u soundfx &>/dev/null || userdel soundfx if [ -f /etc/soundfx-rs/config.env ]; then - rm /etc/soundfx/config.env + rm /etc/soundfx-rs/config.env fi #DEBHELPER# diff --git a/src/cmds/play.rs b/src/cmds/play.rs index 4b4a4c4..5fe04de 100644 --- a/src/cmds/play.rs +++ b/src/cmds/play.rs @@ -316,21 +316,6 @@ pub async fn soundboard( #[description = "Name or ID of sound for button 20"] #[autocomplete = "autocomplete_sound"] sound_20: Option, - #[description = "Name or ID of sound for button 21"] - #[autocomplete = "autocomplete_sound"] - sound_21: Option, - #[description = "Name or ID of sound for button 22"] - #[autocomplete = "autocomplete_sound"] - sound_22: Option, - #[description = "Name or ID of sound for button 23"] - #[autocomplete = "autocomplete_sound"] - sound_23: Option, - #[description = "Name or ID of sound for button 24"] - #[autocomplete = "autocomplete_sound"] - sound_24: Option, - #[description = "Name or ID of sound for button 25"] - #[autocomplete = "autocomplete_sound"] - sound_25: Option, ) -> Result<(), Error> { ctx.defer().await?; @@ -355,11 +340,6 @@ pub async fn soundboard( sound_18, sound_19, sound_20, - sound_21, - sound_22, - sound_23, - sound_24, - sound_25, ]; let mut sounds = vec![];