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),
 | 
									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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue