I need help converting this code into an embed, my problem is that it wont let me use the "submission.url" as a url for an embed. Help would be very much appreciated. Side note: I have deleted all of the information that regards reddit so that it is not stolen.
reddit = praw.Reddit(client_id='',
client_secret='',
user_agent='')
@bot.command()
async def meme(ctx):
memes_submissions = reddit.subreddit('AnimalMemes').hot()
post_to_pick = random.randint(1, 10)
for i in range(0, post_to_pick):
submission = next(x for x in memes_submissions if not x.stickied)
await ctx.send(submission.title)
await ctx.send(submission.url)
Use (f"words{sumbission.url}")