Made the bot more generic now

This commit is contained in:
Luquinhas 2025-01-10 10:40:18 -03:00
parent c63efe5e67
commit ad27a25d1f
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
8 changed files with 24 additions and 15 deletions

View file

@ -31,7 +31,9 @@ module.exports = (bot) => {
bot.command("about", spamwatchMiddleware, async (ctx) => {
const Strings = getStrings(ctx.from.language_code);
ctx.reply(Strings.botAbout, {
const aboutMsg = Strings.botAbout.replace("{sourceLink}", `${process.env.botSource}`);
ctx.reply(aboutMsg, {
parse_mode: 'Markdown',
disable_web_page_preview: true,
reply_to_message_id: ctx.message.message_id