D
D
discorder2019-06-20 00:01:04
JavaScript
discorder, 2019-06-20 00:01:04

How to make the Discord bot greet the player?

I recently started making a bot for my Discord server and I need the bot to greet the player when they join the server. I don’t understand javascript and programming in general, so I did it according to guides, but I didn’t find such a video on YouTube, so I decided to write here. I ask you, if you can, then throw the code, well, or in extreme cases, just a link to the site where this is all told

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2019-06-20
@Azperin

https://discord.js.org/#/docs/main/stable/general/...
You read the docs and do it. If something does not work out, then throw off the question on the toaster with an example of what steps were taken. But honestly, I would start the analysis with this "I don't understand javascript and programming in general", a link for studying https://www.google.ru/
ps: I think it will be easier for you to find a performer on freelance exchanges

D
Deso Crew, 2022-02-04
@desocrew

client.on("guildMemberAdd", (member) => { 
  member.guild.channels.cache.find(c => c.id === "ID канала").send(`Пользователь "${member.user.username}" зашёл на "${member.guild.name}"`);
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question