From 593224b887f0a54959953ab6ab2be5d9faf70486 Mon Sep 17 00:00:00 2001 From: ION606 Date: Fri, 10 Jun 2022 18:06:16 +0300 Subject: [PATCH] Changed the wallpaper file location to GitHub link --- commands/admin/welcome.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/admin/welcome.js b/commands/admin/welcome.js index 4c0e72a..270349f 100644 --- a/commands/admin/welcome.js +++ b/commands/admin/welcome.js @@ -68,7 +68,7 @@ async function welcome(member, welcomechannel, welcomebanner = null) { context.drawImage(avatar, (canvas.width/2) - 80, 10, 160, 160); // 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] }); }