D
D
Denis11112018-08-15 17:46:26
JavaScript
Denis1111, 2018-08-15 17:46:26

How to make Discord bot write first? discord.js?

How to make the bot write first?
for example, make the bot detect a person,
for example, a new one
, and write Hello $username$

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Leonid Knyazev, 2018-08-15
@Denis1111

Subscribe to the guildMemberAdd event , which is fired when someone joins the server.

R
rubtsoff, 2018-08-15
@rubsoff

you can use jquery

$( document ).ready(function() {
    console.log( "ready!" );
});

this method starts executing when the page is fully loaded

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question