nvd commited on
Update main.py
Browse files
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 |
-
#
|
| 66 |
-
await rub_bot.
|
| 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 |
|