This commit is contained in:
levina 2022-01-21 23:04:15 +07:00 committed by GitHub
parent 143125fefc
commit c026da68df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ async def join_chat(c: Client, m: Message):
await user.join_chat(invitelink) await user.join_chat(invitelink)
return await user.send_message(chat_id, "✅ userbot joined chat") return await user.send_message(chat_id, "✅ userbot joined chat")
except UserAlreadyParticipant: except UserAlreadyParticipant:
return await user.send_message(chat_id, "✅ userbot already in this chat") return await user.send_message(chat_id, "✅ userbot already in chat")
@Client.on_message( @Client.on_message(