Skip to content

[BUG] - EditUsers reply messages #3270

@IsoFrieze

Description

@IsoFrieze

Describe the bug

  1. User avatars are not being replaced in the small "replying to" section of a message (User names are being replaced properly here).
  2. User names are not being replaced in the small "activity command" section of a message.

To Reproduce

  1. Reply to a message from someone who has a custom avatar set. The smaller icon that appears above your new message uses the user's original avatar.
  2. Have someone with a custom username set use a command such as /share with the Wordle app. The smaller username in the part of the app's message "<user> used [share]" will use the user's original username.

Expected behavior

  1. The custom avatar you set should be used in the reply section of the message.
  2. The custom username you set should be used in the reply section of the message.

Discord Build (stable, ptb or canary):
Stable

Additional context
Not sure if related but in the console, one of these errors is thrown whenever a message with one of these types of replies is hovered onto or off of:

[EditUsers] (v5.1.1) Fatal Error: "after" callback of A in MessageReply TypeError: Cannot read properties of undefined (reading 'message')
[EditUsers] (v5.1.1) Fatal Error: "before" callback of A in MessageUsername TypeError: Cannot read properties of undefined (reading '0')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions