title: How to create an user welcome message in Discord using C#
body: <p>This is my code but it doesn't work: There is no message when a user joins. How can I fix this?</p>
  
  <pre><code>public async Task Client_Userjoined()  
   {
       var name = Context.Message.Author.Id;
       ulong id = 447147292617736203;  
       var chnl = Client.GetChannel(id) as IMessageChannel;  
       await chnl.SendMessageAsync($"Welcome!&lt;@n{name}&gt; ");
  
   }
  </code></pre>