-
Unable to set avatar as bot's pfp in create_webhook
|
Beta Was this translation helpful? Give feedback.
Answered by
lgaan
Jun 8, 2021
Replies: 1 comment 3 replies
-
If you wish to set the webhook's image globally then you'll need to give |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
utki007
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bot.avatar
notBot.avatar_url
exist. Instead you'll need to supplystr(Bot.user.avatar_url)
toavatar_url
withinWebhook.send
.If you wish to set the webhook's image globally then you'll need to give
create_webhook
bytes. This can beawait Bot.user.avatar_url.read()