Closed konqiDAM closed 2 years ago
I'll have a look if button callback is working as it should
Any news? Maybe its an error on my end. The strange thins is that the callback appears on the logs
Looks like an error in bot, will have a look on weekend
Ho, I just figured it out what happened. I fucked up. I thought it was a good idea to modify the commands.sh (even there are 2000 alerts saying not to do it) and I added a line to check permissions that I wasn't remembering. Sorry for the inconvenience. Also I tipped you one bat with brave, if you want it try brave to receive it. cheers
Hi, I changed export
CALLBACK="1"
in mycommands.conf, have added a command like thissend_inline_buttons "${CHAT[ID]}" "Press Button ..." " Button |RANDOM-BUTTON"
and in the mycallbacks() I added in the first line thisanswer_callback_query "${iBUTTON[ID]}" "Button data is: ${iBUTTON[DATA]}"
, even a simplesend_normal_message "XXXXX" "callback..."
but nothing seems to be working.I'm missing something or does it not work?