Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Sending gifs inside a Embed in Discord.py

embed.set_image(url="https://media0.giphy.com/media/W5C9c8nqoaDJWh34i6/giphy.gif")
Comment

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
Comment

PREVIOUS NEXT
Code Example
Python :: set seed tensorflow 
Python :: standardise columns python 
Python :: python iterate through string in reverse 
Python :: Add Border to input Pysimplegui 
Python :: python nested list comprehension 
Python :: how to start an exe file in python 
Python :: from math import python 
Python :: onehotencoder pyspark 
Python :: python dict append value 
Python :: handle errors in flask 
Python :: django reverse queryset 
Python :: python random list 
Python :: how to update requirements.txt python 
Python :: Python NumPy swapaxis Function Syntax 
Python :: python remove duplicate numbers 
Python :: Convert DateTime to Unix timestamp in Python 
Python :: pygame how to find the full screen mode 
Python :: assign multiline string to variable in python 
Python :: get root path python 
Python :: how to delete a variable python 
Python :: django never_cache example 
Python :: get name of a file in python 
Python :: pandas drop row from a list of vlaue 
Python :: blender 2.8 python set active object 
Python :: getting started with machine learning 
Python :: How to split a text column into two separate columns? 
Python :: how to sort list of dictionaries in python 
Python :: how to make a list using lambda function in python 
Python :: web scraping python beautifulsoup 
Python :: split pandas row into multiple rows 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =