This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Conversation
I'm not even going to lie, this bug was there in the bot since the very beginning of the codebase rework. It was absolutely haunting. It used to make me think every night: "How would I be able to fix this?" No amount of ChatGPT debugging or documentation resolution was able to provide me with a solution for it. Eventually, I landed on the conclusion that I wouldn't be able to fix it, and I just left it, allowing the AFK system and the automod features to rot in the dark. But finally, after some time of thinking with a fresh and rejuvenated mind, after 2 whole years, I was finally able to find a fix for it... and the fix was only 3 lines long. Turns out it was that in PyCord's latest update they turned `discord.Bot()` into a `discord.Client()` replica by adding its arguments, so now basically its just like the old version: make an intents object, enable `intents.message_content` flag, and add it as an argument to `discord.Bot()`. Finally. :relieved:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backstory of the Most Major and Longest-Lasting Bug in Isobot
Two years.
I'm not even going to lie, this bug was there in the bot since the very beginning of the codebase rework.
It was absolutely haunting. It used to make me think every night: "How would I be able to fix this?"
No amount of ChatGPT debugging or documentation resolution was able to provide me with a solution for it. Eventually, I landed on the conclusion that I wouldn't be able to fix it, and I just left it, allowing the AFK system and the automod features to rot in the dark.
But finally, after some time of thinking with a fresh and rejuvenated mind, after 2 whole years, I was finally able to find a fix for it... and the fix was only 3 lines long.
Turns out it was that in PyCord's latest update they turned
discord.Bot()into adiscord.Client()replica by adding its arguments, so now basically its just like the old version: make an intents object, enableintents.message_contentflag, and add it as an argument todiscord.Bot().Finally.
😌
Fixed Features from this PR
This patch helps fix the ongoing bugs with the user AFK notifier, and all of isobot's automod features.