Skip to content
Discussion options

You must be logged in to vote

Bot.avatar not Bot.avatar_url exist. Instead you'll need to supply str(Bot.user.avatar_url) to avatar_url within Webhook.send.

If you wish to set the webhook's image globally then you'll need to give create_webhook bytes. This can be await Bot.user.avatar_url.read()

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@utki007
Comment options

@lgaan
Comment options

@utki007
Comment options

Answer selected by utki007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants