Node.js
2
Вклад в тег
client.on("message", (message) => {
if (message.author.bot || message.content.startsWith(prefix)) return;
if (prefix === "ping") {
message.reply(`pong ! ${Date.now() - message.createdTimestamp}ms`)
};
});
<input type="text" name="firstname" placeholder="Имя" pattern={'/^([\\w.%+-]+)@([\\w-]+\\.)+([\\w]{2,})$/i'} required />
{% for user in users %}
<div class="user-info">
<div class="user-info-avatar" id="avatar"></div>
<div class="user-info-name" id="name"></div>
</div>
{% endfor %}
event-stream
package.node_modules
folder.package-lock.json
file.npm install
.