Add IDs to /list results
This commit is contained in:
parent
52327b3695
commit
5ce9ca3923
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1924,7 +1924,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "soundfx-rs"
|
||||
version = "1.5.4"
|
||||
version = "1.5.5"
|
||||
dependencies = [
|
||||
"dashmap",
|
||||
"env_logger",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "soundfx-rs"
|
||||
version = "1.5.4"
|
||||
version = "1.5.5"
|
||||
authors = ["jellywx <judesouthworth@pm.me>"]
|
||||
edition = "2018"
|
||||
|
||||
|
@ -181,7 +181,11 @@ impl SoundPager {
|
||||
.fields(sounds.iter().map(|s| {
|
||||
(
|
||||
s.name.as_str(),
|
||||
if s.public { "*Public*" } else { "*Private*" },
|
||||
format!(
|
||||
"ID: `{}`\n{}",
|
||||
s.id,
|
||||
if s.public { "*Public*" } else { "*Private*" }
|
||||
),
|
||||
true,
|
||||
)
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user