diff --git a/src/commands/chatinfo.js b/src/commands/chatinfo.js index d176dac..f2863a7 100644 --- a/src/commands/chatinfo.js +++ b/src/commands/chatinfo.js @@ -29,5 +29,5 @@ module.exports = function(bot, msg) { const message = chatNameOutput; bot.sendMessage(chatId, message, { parse_mode: 'Markdown' }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); } diff --git a/src/commands/customize.js b/src/commands/customize.js index 00e6c2b..e753887 100644 --- a/src/commands/customize.js +++ b/src/commands/customize.js @@ -17,5 +17,5 @@ module.exports = function(bot, msg) { const message = "Select your pronouns:"; bot.sendMessage(chatId, message, opts,{ parse_mode: 'Markdown' }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); } diff --git a/src/commands/furry.js b/src/commands/furry.js index f62e96b..02e79c3 100644 --- a/src/commands/furry.js +++ b/src/commands/furry.js @@ -18,5 +18,5 @@ module.exports = function(bot, msg) { const message = `${isFurry}`; bot.sendMessage(chatId, message, { parse_mode: 'Markdown' }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); } diff --git a/src/commands/gay.js b/src/commands/gay.js index e4285be..16ab2f9 100644 --- a/src/commands/gay.js +++ b/src/commands/gay.js @@ -18,5 +18,5 @@ module.exports = function(bot, msg) { const message = `${isGay}`; bot.sendMessage(chatId, message, { parse_mode: 'Markdown' }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); } diff --git a/src/commands/help.js b/src/commands/help.js index a24d93e..722a810 100644 --- a/src/commands/help.js +++ b/src/commands/help.js @@ -18,5 +18,5 @@ module.exports = function(bot, msg) { `Thanks to all users, testers, contributors, and others. Without you, perhaps this bot wouldn't be possible ❤️`; bot.sendPhoto(chatId, lynxFullPhoto, { caption: message, parse_mode: 'Markdown' }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); } diff --git a/src/commands/privacy.js b/src/commands/privacy.js index 7657312..04604fd 100644 --- a/src/commands/privacy.js +++ b/src/commands/privacy.js @@ -36,5 +36,5 @@ module.exports = function(bot, msg) { `In case of usage block, as mentioned above, the terms will be immediately cancelled for the user.`; bot.sendMessage(chatId, message, { parse_mode: 'Markdown', disable_web_page_preview: true }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); }; diff --git a/src/commands/random.js b/src/commands/random.js index 631a134..afa520a 100644 --- a/src/commands/random.js +++ b/src/commands/random.js @@ -10,6 +10,6 @@ module.exports = function(bot, msg) { const message = `*Generated value:* ${randomValue}`; bot.sendMessage(chatId, message, { parse_mode: 'Markdown' }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); } \ No newline at end of file diff --git a/src/commands/start.js b/src/commands/start.js index 3601a01..7d3fb0e 100644 --- a/src/commands/start.js +++ b/src/commands/start.js @@ -8,5 +8,5 @@ module.exports = function(bot, msg) { `Also, you can use /help to show the bot commands!`; bot.sendPhoto(chatId, lynxProfilePhoto, { caption: message, parse_mode: 'Markdown' } ) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); } diff --git a/src/commands/stats.js b/src/commands/stats.js index 64e3688..4cbfe8d 100644 --- a/src/commands/stats.js +++ b/src/commands/stats.js @@ -47,7 +47,7 @@ module.exports = function (bot, msg) { const isAdmin = admins.includes(msg.from.id.toString()); if (isAdmin) { bot.sendMessage(chatId, message, { parse_mode: 'Markdown' }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); } else { return; } diff --git a/src/commands/whois.js b/src/commands/whois.js index b818f4f..ccd264b 100644 --- a/src/commands/whois.js +++ b/src/commands/whois.js @@ -24,5 +24,5 @@ module.exports = function(bot, msg) { const message = `*Your name is:* ${userName}\n${haveUsername}\n*Your ID is:* ${userId}\n*You are a bot:* ${isBot}\n*Your language:* ${userLang}\n\n${userPremiumOutput}`; bot.sendMessage(chatId, message, { parse_mode: 'Markdown' }) - .catch(error => console.error('WARN: Message cannot be sent:', error)); + .catch(error => console.error('WARN: Message cannot be sent: ', error)); }