taslim19
commited on
Commit
·
5daaff6
1
Parent(s):
e8b3130
fix: extol pay
Browse files
DragMusic/plugins/games/extol.py
CHANGED
@@ -159,7 +159,7 @@ async def check_extol_handler(client, message: Message):
|
|
159 |
status_lines.append(f"Amount: <code>{amount}</code><br>"
|
160 |
f'<a href="{pay_url}">Click here to pay</a><br>'
|
161 |
f"ID: <code>{payment_id}</code><br>{status_str}")
|
162 |
-
await msg.edit("<br><br>".join(status_lines), disable_web_page_preview=True, parse_mode="
|
163 |
|
164 |
# /extolbal
|
165 |
@app.on_message(filters.command("extolbal"))
|
@@ -170,7 +170,7 @@ async def extol_balance_handler(client, message: Message):
|
|
170 |
return await msg.edit(f"❌ Error: `{resp.get('error')}`")
|
171 |
balance = resp.get("balance", 0)
|
172 |
address = resp.get("address", "Unknown")
|
173 |
-
await msg.edit(f"💰 Balance: {balance} EXT\n🏷️
|
174 |
|
175 |
# /sendextol <to_address> <amount>
|
176 |
@app.on_message(filters.command("sendextol"))
|
|
|
159 |
status_lines.append(f"Amount: <code>{amount}</code><br>"
|
160 |
f'<a href="{pay_url}">Click here to pay</a><br>'
|
161 |
f"ID: <code>{payment_id}</code><br>{status_str}")
|
162 |
+
await msg.edit("<br><br>".join(status_lines), disable_web_page_preview=True, parse_mode="HTML")
|
163 |
|
164 |
# /extolbal
|
165 |
@app.on_message(filters.command("extolbal"))
|
|
|
170 |
return await msg.edit(f"❌ Error: `{resp.get('error')}`")
|
171 |
balance = resp.get("balance", 0)
|
172 |
address = resp.get("address", "Unknown")
|
173 |
+
await msg.edit(f"💰 Balance: {balance} EXT\n🏷️ Address: {address}")
|
174 |
|
175 |
# /sendextol <to_address> <amount>
|
176 |
@app.on_message(filters.command("sendextol"))
|