-3

This question, which is often used as a duplicate target in , is no longer reproducible.

What changed: In discord.py version 1.7.3, the bot will no longer respond to a message with content $test1. This is the same behaviour as in discord.py 2.0. However, the answer still has value as it applies to both cases.

Why it changed: Discord recently made message content a "priveleged intent". For most discord.py devs, that means that you have to explicitly "subscribe" to these outside the code. Inside the code, discord.py 1.7.3 would automatically subscribe you to this intent, so it worked previously. Discord.py 2.0 did not automatically subscribe you to the event, prompting the aforementioned question.

Editing the question would require changing the intent of the original poster, to my understanding, but would rectify the problem.

Another alternative I see would be to make a Q&A pair, with both being CWs. I could rewrite the question and copy the answer (with attribution), but I'm not sure on the etiquette of this.

My worry with leaving the question as-is is that the number of duplicate questions has seen a significant uptick since discord made their change, but the number of views on the question hasn't.

How should I approach this problem?

18
  • 6
    "Question is no longer reproducible, but the answer still has value" - Okay? The answer is still there, why do you need to do anything? What makes it a problem? Sep 8, 2022 at 18:23
  • 4
    Why/how is it no longer reproducible? Was it reproducible at the time the question was posted? If so, what changed?
    – Makyen Mod
    Sep 8, 2022 at 18:46
  • @Makyen Yes, it was reproducible at the time it was posted. Discord made message_content a "privileged intent", and now one must explicitly subscribe to the intent in all versions of discord.py. Previously it was only discord.py>=2.0 where this was required. Sep 8, 2022 at 18:48
  • 1
    @NickstandswithUkraine As it stands, I believe the question being no longer reproducible makes it harder to find for users facing this problem. There has been a significant uptick in duplicate questions where this question is the dupe target, but not a significant increase in views on the dupe target. Sep 8, 2022 at 18:50
  • @TheFungusAmongUs - If questions today are being marked as a duplicate of a question, that cannot be reproduced today, then those closures are improper. Why does anything have to be done to the existing legacy question? Sep 8, 2022 at 20:14
  • 2
    When a new high quality question comes along and attracts a high quality answer prior to closure, it can become the new dupe target. Until then, as long as the answers there still help the people being pointed to it... i don't see a reason to change course.
    – Kevin B
    Sep 8, 2022 at 20:19
  • 3
    What do you mean by "no longer reproducible"? Are all discord.py files updated automatically? Aren't there any (official) archives with older versions? Are there some network or distributed system dependencies? Can you elaborate? Sep 9, 2022 at 9:55
  • 1
    So you mean that the answer still stands but the part about it not being needed for version 1.7.3 is now wrong (Possibly because of some changes in the API that the package calls)? Why not simply edit both the question and answer and simply remove the mention of any versions? Sep 9, 2022 at 10:23
  • @PeterMortensen I've edited this into my question. Please let me know if it makes sense Sep 9, 2022 at 12:23
  • 1
    To be clear: The change was in the discord server setup, so that using the discord.py client libraries leads to different behaviour even though the client itself wasn't changed? Sep 9, 2022 at 13:57
  • @MisterMiyagi Yes, the behaviour in version 1.7.3 was changed even though the client itself was not changed. Sep 9, 2022 at 14:03
  • But is the problem not reproducible? It sounds more like the original, working code (v1.7.3 in March 2022) will no longer work in some circumstances but the problem that's being asked about is exactly the same (code that's broken in v2.0). Right?
    – Laurel
    Sep 9, 2022 at 14:42
  • @Laurel Indeed, the problem is exactly the same in v2.0. The same code in v1.7.3 does not work unless the same solution is applied. Sep 9, 2022 at 15:47
  • @AbdulAzizBarkat I submitted an edit to remove the mention of versions but it was rejected (even though it is tangential to the actual problem). Oh well Sep 12, 2022 at 13:46
  • The reviewers mistook what you meant, anyway have you tested that code with an unverified bot (It might work with them as it is mentioned the update only affects verified bots)? You should also get a consensus in the meta post here before editing (Someone here with edit privileges might even make the edit themselves). Update your question here so that it is more clear ("Question is no longer reproducible" is incorrect, you can still reproduce the problem) Try posting an answer proposing what you plan to do. Sep 12, 2022 at 13:54

1 Answer 1

1

If it's truly not possible for users to reproduce the issue (e.g. if this is a forced change made on a service end by Discord, and even users who don't change/update anything in their code will be unable to reproduce it), then you should close the question as not reproducible, because that's the most accurate representation of the current state of affairs.

If the issue is reproducible by users who manage to still use an old version of a library or something like that (I'm not familiar with Discord development or Python, so I don't know if this is possible based on your description of the issue) then it's not really "no longer reproducible"... it's just a behavior that has changed in a new version and it should remain open (perhaps with an edit to clarify the version of the library, since that's relevant).


Questions that are closed don't automatically disappear if they have upvoted or accepted answers. The question will still be discoverable via search and can still be voted up (and the same goes for the answer).

If you want to go the extra mile, you could either comment on or edit the question itself to include a blurb that mentions the breaking change causing the issue to be no longer reproducible.

1
  • 4
    The issue is reproducible from what I understand only change is that now the issue is also there for the older versions of the library whereas previously it was only for newer versions. Sep 9, 2022 at 18:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .