utility.presence: files content -> contents
This commit is contained in:
		
							parent
							
								
									0a3213cae9
								
							
						
					
					
						commit
						fec39bd822
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -835,7 +835,7 @@ presence.callback = async function (msg, line) {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            files.push({
 | 
					            files.push({
 | 
				
			||||||
              content: await presenceImage.toBuffer(),
 | 
					              contents: await presenceImage.toBuffer(),
 | 
				
			||||||
              name: `${index}.png`,
 | 
					              name: `${index}.png`,
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
            embed.thumbnail = {
 | 
					            embed.thumbnail = {
 | 
				
			||||||
| 
						 | 
					@ -863,7 +863,7 @@ presence.callback = async function (msg, line) {
 | 
				
			||||||
              .toBuffer();
 | 
					              .toBuffer();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            files.push({
 | 
					            files.push({
 | 
				
			||||||
              content: presenceImage,
 | 
					              contents: presenceImage,
 | 
				
			||||||
              name: `${index}.png`,
 | 
					              name: `${index}.png`,
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
            embed.thumbnail = {
 | 
					            embed.thumbnail = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue