program discord bot to type basic commands code example
Example: discord bot commands code list
client.on('message', message => {
if (message.content === '!ping') {
message.channel.send('Pong.');
}
});
client.on('message', message => {
if (message.content === '!ping') {
message.channel.send('Pong.');
}
});