mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Make sentence better (English is hard)
This commit is contained in:
@@ -19,7 +19,7 @@ client.on('ready', () => {
|
||||
|
||||
// Create an event listener for new guild members
|
||||
client.on('guildMemberAdd', member => {
|
||||
// Send the message, mentioning the member to the guilds default channel (usually #general)
|
||||
// Send the message to the guilds default channel (usually #general), mentioning the member
|
||||
member.guild.defaultChannel.send(`Welcome to the server, ${member}!`);
|
||||
|
||||
// If you want to send the message to a designated channel on a server instead
|
||||
|
||||
Reference in New Issue
Block a user