Changed the wallpaper file location to GitHub link

This commit is contained in:
ION606
2022-06-10 18:06:16 +03:00
parent 1a212889da
commit 593224b887
+1 -1
View File
@@ -68,7 +68,7 @@ async function welcome(member, welcomechannel, welcomebanner = null) {
context.drawImage(avatar, (canvas.width/2) - 80, 10, 160, 160); context.drawImage(avatar, (canvas.width/2) - 80, 10, 160, 160);
// Use the helpful Attachment class structure to process the file for you // Use the helpful Attachment class structure to process the file for you
const attachment = new MessageAttachment(canvas.toBuffer('image/png'), 'profile-image.png'); const attachment = new MessageAttachment(canvas.toBuffer('https://github.com/ION606/selmerBot/blob/main/commands/admin/wallpaper.jpg'), 'profile-image.png');
welcomechannel.send({ files: [attachment] }); welcomechannel.send({ files: [attachment] });
} }