Client now reworks with PM

This commit is contained in:
hydrabolt
2015-08-20 17:21:56 +01:00
parent 369cdcd7de
commit 6ade919bc3
3 changed files with 4 additions and 3 deletions

View File

@@ -27,6 +27,6 @@ myBot.on( "message", function( message ) {
if ( message.content === "ping" ) {
// Send a message ("pong") to the channel the message was sent in,
// which is accessed by message.channel.
this.sendMessage( message.channel, "pong" );
this.sendMessage( message, "pong" );
}
} );