mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +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
|
// Create an event listener for new guild members
|
||||||
client.on('guildMemberAdd', member => {
|
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}!`);
|
member.guild.defaultChannel.send(`Welcome to the server, ${member}!`);
|
||||||
|
|
||||||
// If you want to send the message to a designated channel on a server instead
|
// If you want to send the message to a designated channel on a server instead
|
||||||
|
|||||||
Reference in New Issue
Block a user