those code comments were not necessary
This commit is contained in:
@@ -265,7 +265,7 @@ async function messageToEvent(message, guild, options = {}, di) {
|
|||||||
url: await file.uploadDiscordFileToMxc(attachment.url),
|
url: await file.uploadDiscordFileToMxc(attachment.url),
|
||||||
external_url: attachment.url,
|
external_url: attachment.url,
|
||||||
body: attachment.filename,
|
body: attachment.filename,
|
||||||
// TODO: filename: attachment.filename and then use body as the caption
|
filename: attachment.filename,
|
||||||
info: {
|
info: {
|
||||||
mimetype: attachment.content_type,
|
mimetype: attachment.content_type,
|
||||||
w: attachment.width,
|
w: attachment.width,
|
||||||
@@ -312,7 +312,7 @@ async function messageToEvent(message, guild, options = {}, di) {
|
|||||||
url: await file.uploadDiscordFileToMxc(attachment.url),
|
url: await file.uploadDiscordFileToMxc(attachment.url),
|
||||||
external_url: attachment.url,
|
external_url: attachment.url,
|
||||||
body: attachment.filename,
|
body: attachment.filename,
|
||||||
// TODO: filename: attachment.filename and then use body as the caption
|
filename: attachment.filename,
|
||||||
info: {
|
info: {
|
||||||
mimetype: attachment.content_type,
|
mimetype: attachment.content_type,
|
||||||
size: attachment.size
|
size: attachment.size
|
||||||
|
Reference in New Issue
Block a user