utility.presence: files content -> contents

This commit is contained in:
Cynthia Foxwell 2022-10-10 13:27:43 -06:00
parent 0a3213cae9
commit fec39bd822

View file

@ -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 = {