diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f37a68..6cf1a9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ -# v0.6.5 (November 13, 2022) +# v0.6.6 (November 13, 2022) -- New: spotify playlist +- Fix: spotify button +- Fix: discord button @@ -8,6 +9,10 @@ +# v0.6.5 (November 13, 2022) + +- New: spotify playlist + # v0.6.4 (November 12, 2022) - New: youtube diff --git a/README.md b/README.md index c994c3b..fbf516f 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ -[![v0.6.5](https://img.shields.io/badge/version-v0.6.5-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/aboutmeinfo-telegram-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/aboutmeinfo-telegram-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) +[![v0.6.6-beta.1](https://img.shields.io/badge/version-v0.6.6--beta.1-lightgray.svg?style=flat&logo=)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/CHANGELOG.md) [![](https://img.shields.io/npm/v/@ptkdev/aboutmeinfo-telegram-bot?color=CC3534&logo=npm)](https://www.npmjs.com/package/@ptkdev/aboutmeinfo-telegram-bot) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat&logo=license)](https://github.com/ptkdev/aboutmeinfo-telegram-bot/blob/main/LICENSE.md) [![Language: TypeScript](https://img.shields.io/badge/language-typescript-blue.svg?style=flat&logo=typescript)](https://www.typescriptlang.org/) [![Framework: Grammy](https://img.shields.io/badge/powered%20by-grammy-009dca.svg?style=flat&logo=telegram)](https://grammy.dev/) [![ECMAScript: 2019](https://img.shields.io/badge/ES-9-F7DF1E.svg?style=flat&logo=javascript)](https://github.com/tc39/ecma262) [![Discord Server](https://discordapp.com/api/guilds/383373985666301975/embed.png)](https://discord.ptkdev.io) diff --git a/app/functions/commands/hears.ts b/app/functions/commands/hears.ts index dafdc34..1f7d8dd 100644 --- a/app/functions/commands/hears.ts +++ b/app/functions/commands/hears.ts @@ -223,6 +223,7 @@ const hears = async (): Promise => { case "spotify": case "set_spotify": + text = telegram.api.message.getText(ctx).trim(); // without lower case because spotify have id CASE SENSITIVE if ( !text.startsWith("https://") && !text.startsWith("http://") && @@ -260,6 +261,8 @@ const hears = async (): Promise => { case "discord": case "set_discord": + text = telegram.api.message.getText(ctx).trim(); // without lower case because discord have id CASE SENSITIVE + if ( !text.startsWith("https://") && !text.startsWith("http://") && diff --git a/package.json b/package.json index 3023dcd..e8f7582 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@ptkdev/aboutmeinfo-telegram-bot", "displayName": "About Me Info", "description": "Share your social profiles and links on Telegram", - "version": "0.6.5", + "version": "0.6.6-beta.1", "main": "dist/core/bot.js", "publishConfig": { "access": "public"