Update /ud command

This commit is contained in:
2021-01-06 19:52:20 +01:00
parent 8d4e0a1bc6
commit d38fcc9946

View File

@@ -81,8 +81,10 @@ ud(){
then
def=$(jq -r '.list[0].definition' <<< $res | sed "s/[][]//g")
sam=$(jq -r '.list[0].example' <<< $res | sed "s/[][]//g")
sendmsg "Definition for $args: $def
\"$sam\""
sendmsg "*Definition for __${args}__:*
$def
*Example:*
$sam"
else
sendmsg "No definition found for $args."
fi