#How do I add a button to an embed?
1 messages · Page 1 of 1 (latest)
and you can use a component handler for this purpose, most likely #miru or #flare
you can also do it without them, but it's nicer this way
yes i already tried with miru but I don’t understand how the librairie work
did you try reading the docs? https://miru.hypergonial.com/getting_started/
what part specifically are you having trouble with?
I try to watch some youtube’s videos and he talk about but I didn’t work at all
I’m going to read the doc thx
probably because the youtube videos are hopelessly out of date
yes I think
this is why I recommend against trying to learn via youtube videos
I tried to put a lot of effort into making the docs easy to understand & digest, so if anything is unclear, lmk
thanks !!
I tried with the doc, so It's not possible to add a button on a embed @muted shadow ?
that was never a thing
buttons are added to messages
that's how Discord defined them
k
so not sure where you got that idea from
like, if you look, this isn't in the embed
it's under it
ohh okay
it's a seperate part of the message
I want to do this
k
I can't send a message after my embed
?
I can't
can you elaborate
you send the components & the embed as one message
this is shown even in the guide, just with regular text content, not an embed
but it works the same way with embeds
have u a example
k
I generate a embed and I have at the end ˋ return embedˋ, how can I send the buttons after ?
I did it!
nice!
how can I add link button ?
you can add it using add_item()
as shown in the subclassing part
it's just called miru.LinkButton
so no need to create any funny special subclasses