Adjust embed username to include @

This commit is contained in:
Zeva Rose 2022-03-18 15:22:31 -06:00
parent a2ff1b52c6
commit 75338b4a79

View file

@ -51,7 +51,7 @@ def tweet_embeds(tweet: tweepy.models.Status) -> List[Embed]:
url=url, url=url,
) )
base_embed.set_author( base_embed.set_author(
name=tweet.user.name, name="@" + tweet.user.name,
url=url, url=url,
icon_url=tweet.author.profile_image_url_https, icon_url=tweet.author.profile_image_url_https,
) )