modules/chatMember: fix missing quotes around user_id

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2022-06-27 19:49:55 +02:00
parent 58e6d0aaf6
commit 1a83202a07
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
# This file is public domain in the USA and all free countries. # This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
# #
#### $$VERSION$$ v1.51-0-g6e66a28 #### $$VERSION$$ v1.52-dev-12-g58e6d0a
# will be automatically sourced from bashbot # will be automatically sourced from bashbot
@ -73,11 +73,11 @@ chat_member_count() {
} }
kick_chat_member() { kick_chat_member() {
sendJson "$1" 'user_id: '"$2"'' "${URL}/kickChatMember" sendJson "$1" '"user_id": '"$2"'' "${URL}/kickChatMember"
} }
unban_chat_member() { unban_chat_member() {
sendJson "$1" 'user_id: '"$2"'' "${URL}/unbanChatMember" sendJson "$1" '"user_id": '"$2"'' "${URL}/unbanChatMember"
} }
leave_chat() { leave_chat() {