feat: add wooden fish play template
This commit is contained in:
8
server-rs/crates/module-wooden-fish/src/commands.rs
Normal file
8
server-rs/crates/module-wooden-fish/src/commands.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
pub fn normalize_wooden_fish_prompt(value: &str, fallback: &str) -> String {
|
||||
let value = value.trim();
|
||||
if value.is_empty() {
|
||||
fallback.to_string()
|
||||
} else {
|
||||
value.to_string()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user