String changes + a little code fix on stats

This commit is contained in:
Lucas Gabriel 2024-06-02 01:58:25 +00:00
parent ad6577bc6f
commit 075dc00ad3
2 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@ module.exports = function(bot, msg) {
const lynxFullPhoto = 'https://graph.org/file/a77382dab4d62ba626806.jpg';
const message = `*Hello! I'm Lynx!*\n\nI'm a simple bot made entirely from scratch in Node.js by Lucas Gabriel (lucmsilva).\n\n` +
`I might be running on a GitHub Codespaces server (see /stats), so please refrain from overusing or spamming the bot!\n\n` +
`I am running on a *GitHub Codespaces* server (see /stats), so please refrain from overusing or spamming the bot!\n\n` +
`*Some commands to test*:
*/start*: start the bot
*/help*: send this message

View File

@ -32,6 +32,5 @@ module.exports = function (bot, msg) {
bot.sendMessage(chatId, message, { parse_mode: 'Markdown' })
.catch(error => console.error('ERROR: Message cannot be sent:', error));
console.log(`INFO: /stats executed by ${userName}, ${userId}`);
};