Skip to content

Commit

Permalink
Update voice_chats.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiiRepair committed Aug 5, 2023
1 parent 991e3d5 commit 7ed45e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tlg_bot/kreacher/helpers/voice_chats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pickle
import _pickle as pickle
from kreacher import client
from pytgcalls import GroupCallFactory

Expand All @@ -14,6 +14,7 @@
async def create_voice_chat(chat_id):
factory = GroupCallFactory(client, GroupCallFactory.MTPROTO_CLIENT_TYPE.TELETHON)
voice_chat = factory.get_group_call()
print(dir(voice_chat))
get = VOICE_CHATS.get(chat_id)
if get is not None:
raise Exception("I'm joined in the Voice Chat")
Expand Down

0 comments on commit 7ed45e6

Please sign in to comment.