From 83491ae2ecd117b91a8cf7bce3177f47ec727e31 Mon Sep 17 00:00:00 2001 From: Sempai-07 Date: Thu, 7 May 2026 07:29:52 +0300 Subject: [PATCH] Release 4.14.1 --- README.md | 4 ++-- package.json | 2 +- typings/index.d.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a71f314..8cb7e0f 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ client.on("message", async (msg) => { } if (msg.content.startsWith("/tag")) { - if (!msg.chat.isGroup()) { + if (!msg.chat.isSupergroup()) { return msg.reply(`Changing your nickname is only available in groups.`); } @@ -117,7 +117,7 @@ client.on("message", async (msg) => { `${msg.author.firstName} Your custom tag has been changed to: ${newTag}`, ); } catch (err) { - condole.log(err); + console.log(err); return msg.chat.send("Error when changing custom tag."); } diff --git a/package.json b/package.json index 0cf313d..2a846e0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "telegramsjs", "description": "A powerful library for interacting with the Telegram Bot API", - "version": "4.14.0", + "version": "4.14.1", "main": "./dist/src/index.js", "types": "./typings/index.d.ts", "scripts": { diff --git a/typings/index.d.ts b/typings/index.d.ts index 3acde9e..5f55795 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -13787,6 +13787,6 @@ export declare class StarTransactions { [Symbol.iterator](): IterableIterator; } -export declare const version: "4.14.0"; +export declare const version: "4.14.1"; export * from "./telegram/index";