nvd commited on
Commit
e9a51cc
·
verified ·
1 Parent(s): e462f31

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -62,8 +62,8 @@ async def send_to_bale(text):
62
  async def send_to_rubika(text):
63
  if not rub_bot: return
64
  try:
65
- # For Rubika bots, we use send_text
66
- await rub_bot.send_text(RUBIKA_CHAT_ID, text)
67
  except Exception as e:
68
  print(f"❌ Rubika Bot Error: {e}")
69
 
 
62
  async def send_to_rubika(text):
63
  if not rub_bot: return
64
  try:
65
+ # Update: use send_message for this version of rubpy
66
+ await rub_bot.send_message(RUBIKA_CHAT_ID, text)
67
  except Exception as e:
68
  print(f"❌ Rubika Bot Error: {e}")
69