Changed a lot of stuff regarding Lynx to Kowalski

This commit is contained in:
A Bunch of Computer Nerds 2024-12-08 21:51:43 -03:00
parent 33f76fd806
commit 27edc10557
8 changed files with 18 additions and 18 deletions

View file

@ -15,7 +15,7 @@ async function sendHelpMessage(ctx, isEditing) {
]
}
};
const helpText = Strings.lynxHelp;
const helpText = Strings.kowalskiHelp;
if (isEditing) {
await ctx.editMessageText(helpText, options);
} else {

View file

@ -85,7 +85,7 @@ module.exports = (bot) => {
limit: 1
},
headers: {
'User-Agent': "lynx-@LynxBR_bot-node-telegram-bot"
'User-Agent': "kowalski-@KowalskiNodeBot-node-telegram-bot"
}
});
@ -125,7 +125,7 @@ module.exports = (bot) => {
format: 'json',
},
headers: {
'User-Agent': "lynx-@LynxBR_bot-node-telegram-bot"
'User-Agent': "kowalski-@KowalskiNodeBot-node-telegram-bot"
}
});
num_plays = response_plays.data.track.userplaycount;

View file

@ -5,7 +5,7 @@ const spamwatchMiddleware = require('../plugins/lib-spamwatch/Middleware.js')(is
module.exports = (bot) => {
bot.start(spamwatchMiddleware, async (ctx) => {
const Strings = getStrings(ctx.from.language_code);
ctx.reply(Strings.lynxWelcome, {
ctx.reply(Strings.kowalskiWelcome, {
parse_mode: 'Markdown',
reply_to_message_id: ctx.message.message_id
});
@ -14,7 +14,7 @@ module.exports = (bot) => {
bot.command('privacy', spamwatchMiddleware, async (ctx) => {
const Strings = getStrings(ctx.from.language_code);
ctx.reply(
Strings.lynxPrivacy, {
Strings.kowalskiPrivacy, {
parse_mode: 'Markdown',
disable_web_page_preview: true,
reply_to_message_id: ctx.message.message_id