boreal
0
Q:

Discord embed python

import discord
from discord.ext import commands

Token = "Your Token!"
client = commands.client(command_prefix=">")
# Your prefix

@client.event
async def on_ready():
  
  print("Bot is up and running!") # verify that the bot is running
 
@client.command()
async def Embed(ctx): # Embed is the name of the command: >Embed
	
    embed = discord.Embed(title="Your Tittle",description="A description",color=discord.Color.green())
	
    embed.add_field(name="Some field",vaue="Some  value",inline=True)
    embed.add_field(name="Another field",vaue="Another  value",inline=False)
    
    await ctx.send(embed=embed)
 
4

New to Communities?

Join the community