wip: plugins progress

This commit is contained in:
Yeachan-Heo
2026-04-01 04:40:19 +00:00
parent b905b611f0
commit 7b17b037cb
10 changed files with 125 additions and 1061 deletions

View File

@@ -297,7 +297,10 @@ impl SlashCommand {
},
"plugins" => Self::Plugins {
action: parts.next().map(ToOwned::to_owned),
target: parts.next().map(ToOwned::to_owned),
target: {
let remainder = parts.collect::<Vec<_>>().join(" ");
(!remainder.is_empty()).then_some(remainder)
},
},
other => Self::Unknown(other.to_string()),
})