Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Send GIF in Embed discord.py

@client.command()
async def gif(ctx):
    embed = discord.Embed(title="", description="") #You can add a text in there if you want
    color = 0x9b59b6
#embed.add_field(name="**Add something**", value="Or delete this.", inline=False) 
    embed.set_image(url="https://media.giphy.com/media/UPUVyGoW8PUKZPA3F8/giphy.gif")
    embed.set_footer(text="add if u want something on the botton")
    await ctx.author.send(embed=embed) #This sends the message in the DMs change to "ctx.send" to send it in chat
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Send #GIF #Embed
ADD COMMENT
Topic
Name
4+2 =