topkecleon / telegram-bot-bash

Telegram bot written in bash
Other
426 stars 123 forks source link

kick_chat_member doenst work #191

Closed thehecki closed 2 years ago

thehecki commented 2 years ago

command: kick_chat_member ${CHAT[ID]} ${USER[ID]}

doesnt work and brings in ERROR.log

RESULT=false FUNC=sendJson (curl) CHAT[ID]= ERROR=400 DESC=Bad Request: invalid user_id specified ACTION=user_id:

gnadelwartz commented 2 years ago

thanks for pointing out, I forgot the " around user_id identifier, will be fixed

https://github.com/topkecleon/telegram-bot-bash/commit/1a83202a07a68fc044b5c5b65abee311acbe56d1

gnadelwartz commented 2 years ago

fixed in https://github.com/topkecleon/telegram-bot-bash/releases/tag/v1.52