Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.`);
}

Expand All @@ -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.");
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13787,6 +13787,6 @@ export declare class StarTransactions {
[Symbol.iterator](): IterableIterator<StarTransaction>;
}

export declare const version: "4.14.0";
export declare const version: "4.14.1";

export * from "./telegram/index";
Loading