Spaces:
Sleeping
Sleeping
Rifat Azad commited on
Commit ·
0dbbc1a
1
Parent(s): 90c0c34
update fix
Browse files- pydvpl_bot.py +2 -1
pydvpl_bot.py
CHANGED
|
@@ -415,7 +415,7 @@ async def ping(ctx):
|
|
| 415 |
|
| 416 |
|
| 417 |
@bot.hybrid_command(help="Pings custom nameservers")
|
| 418 |
-
async def
|
| 419 |
if not nameservers:
|
| 420 |
await ctx.send("Please provide at least one nameserver to ping.")
|
| 421 |
return
|
|
@@ -428,6 +428,7 @@ async def ping_web(ctx, *nameservers):
|
|
| 428 |
await ctx.send(f"Unable to resolve {nameserver}.")
|
| 429 |
|
| 430 |
|
|
|
|
| 431 |
# FUNCTION ------------------------------------------------------ SPLIT
|
| 432 |
|
| 433 |
|
|
|
|
| 415 |
|
| 416 |
|
| 417 |
@bot.hybrid_command(help="Pings custom nameservers")
|
| 418 |
+
async def pinger(ctx, nameservers: str):
|
| 419 |
if not nameservers:
|
| 420 |
await ctx.send("Please provide at least one nameserver to ping.")
|
| 421 |
return
|
|
|
|
| 428 |
await ctx.send(f"Unable to resolve {nameserver}.")
|
| 429 |
|
| 430 |
|
| 431 |
+
|
| 432 |
# FUNCTION ------------------------------------------------------ SPLIT
|
| 433 |
|
| 434 |
|