Attempt #2 to fix joke

This commit is contained in:
Zeva Rose 2021-07-03 18:27:51 -06:00
parent 348140d96a
commit efbb7c57f9

View file

@ -82,14 +82,13 @@ class JokeCog(commands.Cog):
else:
body += " " + word
fields = body_chunks + [
Field("Score", result["score"]),
# Field(
# "Created At",
# str(datetime.fromtimestamp(result["created_utc"])),
# ),
Field("ID", result["id"]),
]
fields = body_chunks
fields.append(Field("Score", result["score"]))
# Field(
# "Created At",
# str(datetime.fromtimestamp(result["created_utc"])),
# ),
fields.append(Field("ID", result["id"]))
embed = build_embed(
title=result["title"],
description="",