From 365746f2888752a47eb3ebaba47ca291ff3437d9 Mon Sep 17 00:00:00 2001 From: meew0 Date: Wed, 12 Aug 2015 13:56:25 +0200 Subject: [PATCH] Fix formatting.js code formatting and add a comment --- examples/formatting.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/formatting.js b/examples/formatting.js index c12d0af5a..9131e9c37 100644 --- a/examples/formatting.js +++ b/examples/formatting.js @@ -11,7 +11,8 @@ myBot.login( "hello@example.com", "password1" ); myBot.on( "message", function( message ) { // React to all messages with the content "$formatting". if ( message.content === "$formatting" ) { + // Show off formatting by sending a simple message with formatting codes. myBot.sendMessage( message.channel, "**bold** ****semibold**** *italic* " + - "_**bold and italic**_ __underline__ ~~strikethrough~~") + "_**bold and italic**_ __underline__ ~~strikethrough~~" ); } } );