bot debugs and minor bug fix

This commit is contained in:
hydrabolt
2015-08-14 20:56:25 +01:00
parent dc86086e72
commit b6821dab42
2 changed files with 4 additions and 2 deletions

View File

@@ -28,8 +28,10 @@ Commands[ "echo" ] = {
fn: function( bot, params, message ) {
bot.sendMessage( message, params.join( " " ), function( err, msg ) {
if ( err )
if ( err ){
bot.sendMessage( message, "Unable to echo!" );
console.log(err);
}
} );
}