nvd commited on
Commit
f3ce9e6
·
verified ·
1 Parent(s): 7a53639

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -42,8 +42,7 @@ pub_key, _ = pgpy.PGPKey.from_blob(PUB_KEY_TEXT)
42
 
43
  tg_client = TelegramClient(StringSession(TG_SESSION_STRING), TG_API_ID, TG_API_HASH)
44
 
45
- # The first argument is the session name (can be any string)
46
- rub_bot = RubikaClient(session="rubika_bot", auth=RUBIKA_BOT_TOKEN) if RUBIKA_BOT_TOKEN else None
47
 
48
  # --- 3. HELPER FUNCTIONS ---
49
 
 
42
 
43
  tg_client = TelegramClient(StringSession(TG_SESSION_STRING), TG_API_ID, TG_API_HASH)
44
 
45
+ rub_bot = RubikaClient(name="rubika_bot", auth=RUBIKA_BOT_TOKEN) if RUBIKA_BOT_TOKEN else None
 
46
 
47
  # --- 3. HELPER FUNCTIONS ---
48