those code comments were not necessary
This commit is contained in:
parent
c9c22cdf40
commit
621a22df01
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ async function messageToEvent(message, guild, options = {}, di) {
|
|||
url: await file.uploadDiscordFileToMxc(attachment.url),
|
||||
external_url: attachment.url,
|
||||
body: attachment.filename,
|
||||
// TODO: filename: attachment.filename and then use body as the caption
|
||||
filename: attachment.filename,
|
||||
info: {
|
||||
mimetype: attachment.content_type,
|
||||
w: attachment.width,
|
||||
|
@ -312,7 +312,7 @@ async function messageToEvent(message, guild, options = {}, di) {
|
|||
url: await file.uploadDiscordFileToMxc(attachment.url),
|
||||
external_url: attachment.url,
|
||||
body: attachment.filename,
|
||||
// TODO: filename: attachment.filename and then use body as the caption
|
||||
filename: attachment.filename,
|
||||
info: {
|
||||
mimetype: attachment.content_type,
|
||||
size: attachment.size
|
||||
|
|
Loading…
Reference in a new issue