Unverified Commit 6da60452 authored by tec's avatar tec

Make cowsay backtick-safe

parent b11f041f
......@@ -52,7 +52,7 @@ impl Commands {
.expect("failed to execute fortune/cowsay")
};
let mut message = MessageBuilder::new();
message.push_codeblock(
message.push_codeblock_safe(
String::from_utf8(output.stdout).expect("unable to parse stdout to String"),
None,
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment