Attempt #2 to fix joke
This commit is contained in:
parent
348140d96a
commit
efbb7c57f9
1 changed files with 7 additions and 8 deletions
|
@ -82,14 +82,13 @@ class JokeCog(commands.Cog):
|
||||||
else:
|
else:
|
||||||
body += " " + word
|
body += " " + word
|
||||||
|
|
||||||
fields = body_chunks + [
|
fields = body_chunks
|
||||||
Field("Score", result["score"]),
|
fields.append(Field("Score", result["score"]))
|
||||||
# Field(
|
# Field(
|
||||||
# "Created At",
|
# "Created At",
|
||||||
# str(datetime.fromtimestamp(result["created_utc"])),
|
# str(datetime.fromtimestamp(result["created_utc"])),
|
||||||
# ),
|
# ),
|
||||||
Field("ID", result["id"]),
|
fields.append(Field("ID", result["id"]))
|
||||||
]
|
|
||||||
embed = build_embed(
|
embed = build_embed(
|
||||||
title=result["title"],
|
title=result["title"],
|
||||||
description="",
|
description="",
|
||||||
|
|
Loading…
Add table
Reference in a new issue