mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +00:00
Make sentence better (English is hard)
This commit is contained in:
parent
4a18ac72ce
commit
aec0a095e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue