Skip to content

Conversation

@Akinator31
Copy link
Member

This pull request updates how anonymous staff messages are formatted in the messaging system, making sure the staff member's name is displayed with an "Anonymous" label for clarity and consistency. The changes also streamline the message builder logic by removing unnecessary role assignment for anonymous messages.

Improvements to anonymous staff message formatting:

  • Anonymous staff messages now use the as_staff method to format the sender's name as "<name> (Anonymous)", ensuring recipients can identify the message as coming from a staff member while maintaining anonymity. [1] [2]

Code simplification:

  • Removed the logic that conditionally adds a role to anonymous staff messages, since roles are no longer displayed for these messages.
  • Improved code readability by adjusting builder chaining and removing unused variables in the message construction flow.

@Akinator31 Akinator31 self-assigned this Jan 14, 2026
@Akinator31 Akinator31 merged commit cff1ecb into main Jan 14, 2026
2 checks passed
@Akinator31 Akinator31 deleted the 339-ensure-that-the-name-of-the-staff-member-using-the-annonreply-command-is-displayed-for-other-staff-member branch January 14, 2026 10:18
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.

Ensure that the name of the staff member using the “annonreply” command is displayed for other staff member

2 participants