Rovindu Thamuditha
Rovindu Thamuditha

Reputation: 220

Discord Embed image not working in discord.py

I'm making a bot with discord.py and I want to send the mentioned user's avatar with a glass filter.. This is my code

import aiohttp
import json
import requests

bot = commands.Bot(command_prefix=']')

#glass filter
@bot.command()
async def glass (ctx,*,person:discord.Member =None) :
  member = ctx.message.author
  person: discord.Member
  embed = discord.Embed ()
  mentiondp = member.avatar_url
  embed.set_image (url = f'https://some-random-api.ml/canvas/glass?avatar={mentiondp}' )
  await ctx.send (embed=embed)

But when I tried ]glass @DankMemer It sends a blank embed..

Please Help me!

issue

Upvotes: 0

Views: 626

Answers (1)

user17066118
user17066118

Reputation:

Currently Discord embeds are down. You'll need to wait a bit until they fix it. https://discordstatus.com

Upvotes: 1

Related Questions