Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UCC
Discord Bot
Commits
6da60452
Unverified
Commit
6da60452
authored
Mar 27, 2020
by
tec
Browse files
Make cowsay backtick-safe
parent
b11f041f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/voting.rs
View file @
6da60452
...
...
@@ -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
,
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment