#User icon in embed message

1 messages · Page 1 of 1 (latest)

spark widget
#

Hi! I want to set user image to bellow of embed message, like on pic one, but only how i can imagine it - pic two, so..
Is it even possible to make pic one on disnake? ( js bot on a picture )

lone prairie
#

you want the small one at the very bottom to be the user's profile pic?

#

(the one I circled in red at the bottom of the image)

lone prairie
#

aha

#

yeah then it's embed.set_footer(icon_url=...)

#

-d disnake.Embed.set_footer

plush locustBOT
#

set_footer(*, text, icon_url=None)```
Sets the footer for the embed content.

This function returns the class instance to allow for fluent-style chaining.
spark widget
#

If i write it like this - it makes error

lone prairie
spark widget
lone prairie
#

mhm, but

#

why the f-string

#

there's no need

lone temple
lone prairie
#

icon_url=inter.user.display_avatar.url will suffice

lone temple
#

Also why not .author

spark widget
lone prairie
#

what about it doesn't work

#

we can't do shit with this if you don't tell us what's going wrong

lone prairie
#

are you sure you didn't just forget to send the message now

spark widget
#

I just add it to main line and now its works.

lone prairie
#

once again no need for the f-string

spark widget
#

Tysm for help <3

lone prairie
#

you're welcome keqsalute