Skip to content

Commit

Permalink
adds mentions for title when not embedded for /annonce
Browse files Browse the repository at this point in the history
  • Loading branch information
SonOfLope committed Sep 11, 2023
1 parent aafc4d1 commit 5e2a0ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slash_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ async def annonce(ctx):
annonce.set_thumbnail(url=image_url)
await ctx.author.send(embed=annonce)
else:
formatted_title = f"**{title}**\n"
formatted_title = make_mention(title, mention_dict)
formatted_body = f"{body_with_mentions}"
annonce = f"{formatted_title}\n{formatted_body}"
await ctx.author.send(annonce)
Expand Down

0 comments on commit 5e2a0ae

Please sign in to comment.