bot: Fix record counting
All checks were successful
Build Docker / Build Docker (push) Successful in 15s

This commit is contained in:
Nathan Woodburn 2023-09-27 17:36:22 +10:00
parent b8d2b4c006
commit b7819f6f98
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

2
bot.py
View File

@ -154,7 +154,7 @@ async def ssl(ctx, domain: str):
message = message + "- " +str(record) + "\n"
if records.count() < 1:
if not records:
await ctx.response.send_message(f"No A record found for {domain}")
return