callsmusic / tgvc-userbot

Telegram voice chat userbot made with Pyrogram and MarshalX/tgcalls with playlist support
https://t.me/VCSets
GNU Affero General Public License v3.0
161 stars 333 forks source link

Not run when i send !join #25

Closed mengxin239 closed 2 years ago

mengxin239 commented 2 years ago

when i send !join ,it only will quit voice chat a few seconds after joining and will print this on console 'GroupCall' object has no attribute 'params' Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/pyrogram/dispatcher.py", line 222, in handler_worker await handler.callback(self.client, *args) File "/usr/local/lib/python3.9/dist-packages/pytgcalls/mtproto/pyrogram_bridge.py", line 63, in _process_update await self._update_to_handler[type(update)](update) File "/usr/local/lib/python3.9/dist-packages/pytgcalls/mtproto/pyrogram_bridge.py", line 75, in _process_group_call_update call = GroupCallWrapper(update.call.id, update.call.params) AttributeError: 'GroupCall' object has no attribute 'params'

dashezup commented 2 years ago

I haven't check this project for a long time and don't feel much motivation to check this for now.

it looks like a pytgcalls update break some codes, you may try some old version of pytgcalls

mengxin239 commented 2 years ago

when i install pyrogram1.2.5,it work on my server.