Simple string change

This commit is contained in:
Lucas Gabriel 2024-06-02 13:27:01 +00:00
parent 74176098fc
commit 44c346c407
10 changed files with 10 additions and 10 deletions

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
};

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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;
}

View File

@ -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));
}