From b3a70dde59f33b25d0b1d7e62a7144def0fca80b Mon Sep 17 00:00:00 2001 From: filipnyquist Date: Fri, 6 Jul 2018 16:29:35 +0200 Subject: [PATCH] Fixed message size --- index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/index.js b/index.js index 4e0f63f..2eca5c8 100644 --- a/index.js +++ b/index.js @@ -77,14 +77,14 @@ async function doHelp(tweet, msg) { try { let post = await T.post("statuses/update", { status: - `@${tweet.user.screen_name} `+ - `All commands should be called with ${config.get("bot.handle")} + subcommand \n` + - "help - Shows this command. \n" + - "balance - Get your balance. \n" + - "deposit - Get address for your deposits. \n" + - "withdraw ADDRESS AMOUNT - Withdraw AMOUNT credits to ADDRESS. \n" + - "tip USER AMOUNT - Tip USER AMOUNT.\n"+ - "terms - Sends you the TOS.", + `@${tweet.user.screen_name} `+ + `Call commands with: ${config.get("bot.handle")} + \n` + + "help - Shows this command.\n" + + "balance - Get your balance.\n" + + "deposit - Get address for your deposits.\n" + + "withdraw ADDRESS AMOUNT - Withdraw AMOUNT credits to ADDRESS.\n" + + "tip USER AMOUNT - Tip USER AMOUNT.\n"+ + "terms - Sends the TOS.", in_reply_to_status_id: tweet.id_str }); logger.info(