I've suggested an edit for the usage guidance for the discord.py tag. The edit suggests adding this line:
Please check if all necessary intents are enabled in the code and your Discord Developer Portal.
Many new users ask discord.py questions which can be solved by enabling the necessary intents. Some versions of discord.py probably don't even generate an error/warning, so they ask about it here, thinking that it's an unexpected error. Adding this line would help reduce the number of such questions (it's a very common setup issue with discord.py which many miss). See this comment.
If this edit is fine, can someone please approve/edit it for me?
discord.Intents.all()
(I consider it the safest way to enable all intents to avoid conflicts with Discord), butdefault
isn't bad either because some users might be stuck with a boilerplate code to listen for and send back 'hi' or 'hello'. But they'll get stuck again if they write more code (which would most probably require some other intents). The only con ofall
is that you have to manually toggle and enable all (I guess less than 10) the intents in the Discord Developer Portal (where you manage your bot, API token, etc.)