Use markdown URLs instead of full URLs
This commit is contained in:
parent
be96014447
commit
d35c43f904
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ class ModlogMessageCog(commands.Cog):
|
|||
]
|
||||
|
||||
if message.attachments:
|
||||
value = "\n".join([x.url for x in message.attachments])
|
||||
value = "\n".join(
|
||||
[f"[{x.filename}]({x.url})" for x in message.attachments]
|
||||
)
|
||||
fields.append(
|
||||
Field(
|
||||
name="Attachments",
|
||||
|
|
Loading…
Add table
Reference in a new issue