diff --git a/guild2.py b/guild2.py index 88cd29e..810e758 100644 --- a/guild2.py +++ b/guild2.py @@ -195,12 +195,11 @@ async def on_message(message): pass else: temp = (re.sub(' +', ' ', j)).split(" ") - print(temp) if j != "": ports.append(("🟢 " if temp[1] == "open" else "🔴 ") + temp[0] + " (" + temp[2] + ")") else: break - mess = await message.reply(embed=guilded.Embed(title=":sweebot-success: Found " + str(len(ports)) +" ports",description="\n".join(ports))) + mess = await message.reply(embed=guilded.Embed(title=":sweebot-success: Found " + str(len(ports)) +" ports",description="\n".join(ports))) print("[" + GREEN + "OK" + RESET + "] '$nmap' executed successfully.") else: mess = await message.reply(embed=guilded.Embed(title=":sweebot-fail: Invalid arguments",description="Only 1 argument is allowed: $nmap [hostname/IP]"))