wip: plugins progress

This commit is contained in:
Yeachan-Heo
2026-04-01 04:40:19 +00:00
parent a9b779d0af
commit bba3b0db45
10 changed files with 133 additions and 1068 deletions

View File

@@ -221,7 +221,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()),
})