Disable temporary for mongodb session

This commit is contained in:
yasirarism 2023-05-16 07:14:58 +00:00 committed by GitHub
parent dc1d46505d
commit 4b6458fff9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,13 +32,13 @@ misskaty_version = "v2.023.5.16 - Stable"
pymonclient = MongoClient(DATABASE_URI) pymonclient = MongoClient(DATABASE_URI)
# Pyrogram Bot Client # Pyrogram Bot Client (Disable temporary for mongodb session)
app = Client( app = Client(
"MissKatyBot", "MissKatyBot",
api_id=API_ID, api_id=API_ID,
api_hash=API_HASH, api_hash=API_HASH,
bot_token=BOT_TOKEN, bot_token=BOT_TOKEN,
mongodb=dict(uri=DATABASE_URI, db_name=DATABASE_NAME, remove_peers=False), # mongodb=dict(uri=DATABASE_URI, db_name=DATABASE_NAME, remove_peers=False),
) )
# Pyrogram UserBot Client # Pyrogram UserBot Client