Prepare examples for v12 (#1382)

This commit is contained in:
Gus Caplan
2017-04-15 18:50:37 -05:00
committed by Amish Shah
parent 4aa82b4fdf
commit 15723ece1f
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ client.on('message', message => {
// if the message is "ping",
if (message.content === 'ping') {
// send "pong" to the same channel.
message.channel.sendMessage('pong');
message.channel.send('pong');
}
});