mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
bot debugs and minor bug fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user