-9

I've suggested an edit for the usage guidance for the 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 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?

13
  • 2
    That's not guidance on the usage of the tag itself, but rather how to solve problems associated to that tag, though. I don't think this text really belongs there.
    – Lino
    May 15 at 7:43
  • @Lino, but it would help reduce potentially similar questions. It's a very common setup issue with discord.py. May 15 at 7:44
  • 3
    Then that should probably be a canonical, and linked inside the tag wiki (like a FAQ), that is done in most tags. That way you can also flag/vote to close any newly asked question as a duplicate.
    – Lino
    May 15 at 8:03
  • @Lino, but adding it in the tooltip would make it easily noticeable, as new users'd be confused with SO's system. But they're likely to hover over the tags and read the tooltip. It's harder to systematically spot and take appropriate action; adding one line wouldn't harm, no? It's a step which many miss, as discord.py intents are too problematic and never stable. I don't read tag wikis myself: "suitable as a destination (only) for those curious about it". But excerpts are shorter and concise, so people would consider reading them. Why not add? "Prevention is better than cure". May 15 at 8:25
  • 3
    Sounds like a conanical duplicate is needed, if the question keeps being asked that often. Then all new questions witth the problem can be pointed to (closed as a duplicate of) that question.
    – Thom A
    May 15 at 10:16
  • It doesn't really need a canonical duplicate. Here's one. As I said before, prevention is better and easier than cure. Why not add this line? Why allow such questions and then close them? Doesn't seem sensible to me. Already enough different questions about intents have been asked, and I wouldn't suggest allowing more. They're the same. One line would avoid many closes and flags. conanical, LOL. May 15 at 10:51
  • 5
    @TheAmateurCoder You won't stop users from posting such questions, because users don't read tag guidance, nor the wikis. It's the sad truth. Users will not research, but just blatantly use SO as a helpdesk / search engine. Having a canonical is the way to go, and how it's been done for many common problems. Prevention would only be possible if SO would somehow notice that a question is a duplicate before it's even asked.
    – Lino
    May 15 at 10:54
  • @Lino, I agree, but IIRC, I hovered over the tags and read the tag excerpts when I first used SO, as they looked like buttons. A new feature request would obviously be downvoted, as SO's developers are always working to fix some other very important bugs. It doesn't really need a canonical. There are already some good ones. Maybe ask the user to confirm that they've enabled the intents, etc. before asking, like the ' I confirm that none of these posts answers my question.'. There can be a check like this for each tag. Such checks can be added via Meta or suggestion- this would take 99 years May 15 at 11:05
  • @Lino, it's not the only way ;) Till SO devs fix the other bugs, the already existing and working features can be used. Why bother if it's used as intended when it doesn't affect anything else and just increases the possibility of reducing such questions? It's just 1 line. Why not just add it and see? A check-like feature for certain tags would be better, but getting it on the site would take time. Why not? May 15 at 12:30
  • @Lino, this site doesn't make sense. Why not add just that 1 line and see if it helps? Not everyone overlooks that. Any reason why it should not be added? What bad can happen? May 15 at 16:18
  • 1
    @TheAmateurCoder You can still add it, and your edit may even be approved. I just think that it will be useless, and could use our time more efficiently.
    – Lino
    May 15 at 16:46
  • 1
    If someone has asked yet another question about intents, just dupe-hammer it. We do, in fact, have that canonical: stackoverflow.com/questions/71959420 May 19 at 0:21
  • @KarlKnechtel, but the answers there don't even mention discord.Intents.all() (I consider it the safest way to enable all intents to avoid conflicts with Discord), but default 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 of all 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.) May 19 at 18:40

0

You must log in to answer this question.

Browse other questions tagged .