Sometimes it fully freeze after calling .stop(), handlers and other plugins stops working, the only way to solve this is kill -9 the process and start the userbot again.
Step to reproduce:
start the userbot with the following smart plugin
send !join, prints "joined the VC", wait for a few seconds for joining
send !leave, prints "left the VC", or freeze and can't be closed by pressing CTRL+c
if it prints "left the VC" then repeat from step 2 until reproduce this. Sometimes I reproduce this after the third attempt to !leave, sometimes fifth, could even on the first.
Sometimes it fully freeze after calling
.stop()
, handlers and other plugins stops working, the only way to solve this iskill -9
the process and start the userbot again.Step to reproduce:
!join
, prints "joined the VC", wait for a few seconds for joining!leave
, prints "left the VC", or freeze and can't be closed by pressing CTRL+cif it prints "left the VC" then repeat from step 2 until reproduce this. Sometimes I reproduce this after the third attempt to
!leave
, sometimes fifth, could even on the first.Version:
pytgcalls==0.0.12
Code (Pyrogram Smart Plugin):