title: How do I post a welcome message when my discord bot joins a server
body: <p>I am new to JavaScript and I have made a small discord bot but I cannot find a way to make it have a welcome message when it joins the server. I want it to say something like &quot;Hello my name is <code>{bot-name}</code>, type !help to view my commands.&quot; Does anyone know how to do this?</p>