rcnlx
Version:
A cli to generate discord.js projects
10 lines (9 loc) • 397 B
JavaScript
const client = require('../index.js')
// typingStart
/* Emitted whenever a user starts typing in a channel.
PARAMETER TYPE DESCRIPTION
channel Channel The channel the user started typing in
user User The user that started typing */
client.on("typingStart", (channel, user) => {
console.log(`${user.tag} has started typing`);
});