From aedd274ad43519c6de797fcab6135d62f6090678 Mon Sep 17 00:00:00 2001 From: kieranrobson Date: Tue, 10 May 2022 22:19:11 +0100 Subject: [PATCH] Changed sending code --- events/guildMemberAdd.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/events/guildMemberAdd.js b/events/guildMemberAdd.js index e1d42a7..a9144fd 100644 --- a/events/guildMemberAdd.js +++ b/events/guildMemberAdd.js @@ -6,6 +6,5 @@ const discord = require('discord.js'); client.on('guildMemberAdd', async guildmember =>{ const guild = client.guilds.cache.get('427865794467069962'); const welcomechannel = client.channels.cache.get('427875246801027072') - welcomechannel.send(` Welcome! **${guildmember.user}** has just joined the server! Grab some roles from <#427873938333499404> and let us know who you are within <#427874873898041346>`); - + welcomechannel.send({ content: ` Welcome! **${guildmember.user}** has just joined the server! Grab some roles from <#427873938333499404> and let us know who you are within <#427874873898041346>`}) }) \ No newline at end of file