Skip to content

Commit

Permalink
Make message content empty when using embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Jul 3, 2022
1 parent 42a23ec commit 82d6f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ async def post_or_update():

args = {}
if use_embed:
args["content"] = ""
args["embed"] = discord.Embed(
content="",
title=post.split("\n")[0].split("#")[1].strip(),
description="\n".join(post.split("\n")[1:]).strip(),
colour=int(get_actions_environ("EMBED_COLOR", '0'))
Expand Down

0 comments on commit 82d6f6a

Please sign in to comment.