Answer the question
In order to leave comments, you need to log in
How to get discord guild avatar and name via discord.py module?
I want to create an embed where it will be respected:
embed.set_author(name=(Guild Name), icon_url=(Guild Avatar))
But I didn't find an attribute for guild for this. Is it possible to see the title and avatar/change it?
Answer the question
In order to leave comments, you need to log in
The guild name is, oddly enough, in the name field
https://discordpy.readthedocs.io/en/latest/api.htm...
Server icon, also in icon
https://discordpy.readthedocs.io/en/ latest/api.htm...
Url icons same in icon_url
https://discordpy.readthedocs.io/en/latest/api.htm...
Editing via edit
https://discordpy.readthedocs.io/en/latest/ api.htm...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question