Skip to content

Added typing indicator block via injection#50

Open
zeyadhost wants to merge 1 commit intoghostselfbot:mainfrom
zeyadhost:feature/silent-typing-clean
Open

Added typing indicator block via injection#50
zeyadhost wants to merge 1 commit intoghostselfbot:mainfrom
zeyadhost:feature/silent-typing-clean

Conversation

@zeyadhost
Copy link
Copy Markdown
Contributor

What's this?

Adds a proper typing indicator blocker by injecting a small payload into Discord's index.js.

What changed

  • Created typing_blocker.py which handles finding Discord's install folder on Windows and macOS and injects the JavaScript needed to block the typing indicator.
  • The blocker is controlled by a simple flag file (.ghost_silent_typing). You can toggle it on/off from chat and it takes effect immediately with no restart needed.

Note

The users cannot see any type of typing indicator, but for the person who is going to use this (you), you'll still be able to see the typing indicator which is next to your avatar in the member's list:

{257EAD6B-8372-4464-8A94-995553FBF0F1}

How to test

  1. Run .st in any channel (if it's your first time, it'll inject and ask you to restart Discord.)
  2. Restart Discord.
  3. Type in any channel and the indicator shouldn't be triggered.
  4. Run .st again to toggle it off.

@bennyscripts
Copy link
Copy Markdown
Member

Currently not working on macOS. Potentially the script that's injected into index.js needs to be different for macOS? I will do some testing as seems like fun idea. I also want to attempt this without injecting into the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants