Skip to content

ID not displayed in dm_relay when attachment sent #1137

@wookie184

Description

@wookie184

Currently the dm-relay message username will not include the user ID if only an attachment is sent, so it looks like this:
image
Whereas it should look like this:
image

This is because it uses bot.utils.messages.send_attachments, which by default just sends the message with the ID. Relevant line in dm_relay cog here

Simple solution here would be to add a username keyword argument to send_attachments. I would be happy to make this change if this all sounds good.

Metadata

Metadata

Assignees

Labels

a: moderationRelated to community moderation functionality: (moderation, defcon, verification)p: 2 - normalNormal Priorityt: bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions