Fix typo
This commit is contained in:
parent
34d5fddf6c
commit
1a1b1b8144
2
debian/postrm
vendored
2
debian/postrm
vendored
@ -5,7 +5,7 @@ set -e
|
|||||||
id -u soundfx &>/dev/null || userdel soundfx
|
id -u soundfx &>/dev/null || userdel soundfx
|
||||||
|
|
||||||
if [ -f /etc/soundfx-rs/config.env ]; then
|
if [ -f /etc/soundfx-rs/config.env ]; then
|
||||||
rm /etc/soundfx/config.env
|
rm /etc/soundfx-rs/config.env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
@ -316,21 +316,6 @@ pub async fn soundboard(
|
|||||||
#[description = "Name or ID of sound for button 20"]
|
#[description = "Name or ID of sound for button 20"]
|
||||||
#[autocomplete = "autocomplete_sound"]
|
#[autocomplete = "autocomplete_sound"]
|
||||||
sound_20: Option<String>,
|
sound_20: Option<String>,
|
||||||
#[description = "Name or ID of sound for button 21"]
|
|
||||||
#[autocomplete = "autocomplete_sound"]
|
|
||||||
sound_21: Option<String>,
|
|
||||||
#[description = "Name or ID of sound for button 22"]
|
|
||||||
#[autocomplete = "autocomplete_sound"]
|
|
||||||
sound_22: Option<String>,
|
|
||||||
#[description = "Name or ID of sound for button 23"]
|
|
||||||
#[autocomplete = "autocomplete_sound"]
|
|
||||||
sound_23: Option<String>,
|
|
||||||
#[description = "Name or ID of sound for button 24"]
|
|
||||||
#[autocomplete = "autocomplete_sound"]
|
|
||||||
sound_24: Option<String>,
|
|
||||||
#[description = "Name or ID of sound for button 25"]
|
|
||||||
#[autocomplete = "autocomplete_sound"]
|
|
||||||
sound_25: Option<String>,
|
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
ctx.defer().await?;
|
ctx.defer().await?;
|
||||||
|
|
||||||
@ -355,11 +340,6 @@ pub async fn soundboard(
|
|||||||
sound_18,
|
sound_18,
|
||||||
sound_19,
|
sound_19,
|
||||||
sound_20,
|
sound_20,
|
||||||
sound_21,
|
|
||||||
sound_22,
|
|
||||||
sound_23,
|
|
||||||
sound_24,
|
|
||||||
sound_25,
|
|
||||||
];
|
];
|
||||||
|
|
||||||
let mut sounds = vec![];
|
let mut sounds = vec![];
|
||||||
|
Loading…
Reference in New Issue
Block a user