Add user ID to /id command

This commit is contained in:
Michael De Roover 2021-04-12 17:45:45 +02:00
parent c29cc75df2
commit 2b0feae736
Signed by: vim
GPG Key ID: 075496E232CE04CB

View File

@ -141,7 +141,9 @@ cv(){
} }
id(){ id(){
sendmsg "Chat ID: \`$chat\`" uid=$(jq -r '.message.user.id' <<< $input)
sendmsg "*User ID:* \`$uid\`
*Chat ID:* \`$chat\`"
} }
ud(){ ud(){