#embed help
1 messages · Page 1 of 1 (latest)
ok wait
@lightbulb.command("embed", "Sends an embed in the command channel")
@lightbulb.implements(lightbulb.SlashCommand)
async def embed_command(ctx):
embed = hikari.Embed(title="Example embed", description="An example hikari embed")
embed.add_field("Field name", "Field content (value)")
embed.set_thumbnail("https://i.imgur.com/EpuEOXC.jpg")
embed.set_footer("This is the footer")
await ctx.respond(embed) # or respond(embed=embed)
im new so im just trying out, thats my code
@pallid tapir u know how to fix it?
no, i dont use lightbulb
oh ok
someone else will know how to help
u know another extension i can use for embeds?
you dont need any extensions to use embeds
oh really?
embeds are a part of hikari
u know how can i use that?
what
you wanted to make an embed and send it
which you have written the correct code to do so
in my code it sais lightbulb and when i try it i cant find the slash command
that is not a problem about embeds then
ok
idk how lightbulb command registeration works