Skip to content

[Bug] TextReplace: text replacements are processed *after* discord handles the +:emoji: reaction syntax #4313

Description

@sadan4

What happens when the bug or crash occurs?

given a text replace rule like
find: /^foo$/
replace: +:+1:

sending a message with foo does not add a +1 reaction to the previous message like sending +:+1: does

What is the expected behaviour?

the +:emoji: syntax in text replace rules is handled properly

How do you recreate this bug or crash?

  1. create a rule with the contents below

find: /^foo$/
replace: +:+1:

  1. send a message with foo
  2. notice no reaction is added
  3. send a message with +:+1:
  4. notice a reaction is added

Errors

Replace this text with your crash-log.

Request Agreement

  • I've searched existing issues and this hasn't been reported before
  • I am using Discord Stable or tried on Stable and this bug happens there as well
  • I installed Vencord via an official method (download from vencord.dev or from source), not via something like AUR or Nix packages
  • This is not a support request
  • I am willing to submit a fix for this myself

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions