File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # v0.6.5 (November 13, 2022)
1+ # v0.6.6 (November 13, 2022)
22
3- - New: spotify playlist
3+ - Fix: spotify button
4+ - Fix: discord button
45
56<!-- all-shields/sponsors-badges:START -->
67
78[ ![ Donate Paypal] ( https://img.shields.io/badge/donate-paypal-005EA6.svg?style=for-the-badge&logo=paypal )] ( https://www.paypal.me/ptkdev ) [ ![ Donate Ko-Fi] ( https://img.shields.io/badge/donate-ko--fi-29abe0.svg?style=for-the-badge&logo=ko-fi )] ( https://ko-fi.com/ptkdev ) [ ![ Donate GitHub Sponsors] ( https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?style=for-the-badge&logo=github )] ( https://github.com/sponsors/ptkdev ) [ ![ Donate Patreon] ( https://img.shields.io/badge/donate-patreon-F87668.svg?style=for-the-badge&logo=patreon )] ( https://www.patreon.com/join/ptkdev ) [ ![ Donate Bitcoin] ( https://img.shields.io/badge/BTC-35jQmZCy4nsxoMM3QPFrnZePDVhdKaHMRH-E38B29.svg?style=flat-square&logo=bitcoin )] ( https://ptk.dev/img/icons/menu/bitcoin_wallet.png ) [ ![ Donate Ethereum] ( https://img.shields.io/badge/ETH-0x8b8171661bEb032828e82baBb0B5B98Ba8fBEBFc-4E8EE9.svg?style=flat-square&logo=ethereum )] ( https://ptk.dev/img/icons/menu/ethereum_wallet.png )
89
910<!-- all-shields/sponsors-badges:END -->
1011
12+ # v0.6.5 (November 13, 2022)
13+
14+ - New: spotify playlist
15+
1116# v0.6.4 (November 12, 2022)
1217
1318- New: youtube
Original file line number Diff line number Diff line change 44
55<!-- all-shields/header-badges:START -->
66
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 )
7+ [ ![ 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 )
88
99<!-- all-shields/header-badges:END -->
1010
Original file line number Diff line number Diff line change @@ -223,6 +223,7 @@ const hears = async (): Promise<void> => {
223223
224224 case "spotify" :
225225 case "set_spotify" :
226+ text = telegram . api . message . getText ( ctx ) . trim ( ) ; // without lower case because spotify have id CASE SENSITIVE
226227 if (
227228 ! text . startsWith ( "https://" ) &&
228229 ! text . startsWith ( "http://" ) &&
@@ -260,6 +261,8 @@ const hears = async (): Promise<void> => {
260261
261262 case "discord" :
262263 case "set_discord" :
264+ text = telegram . api . message . getText ( ctx ) . trim ( ) ; // without lower case because discord have id CASE SENSITIVE
265+
263266 if (
264267 ! text . startsWith ( "https://" ) &&
265268 ! text . startsWith ( "http://" ) &&
Original file line number Diff line number Diff line change 22 "name" : " @ptkdev/aboutmeinfo-telegram-bot" ,
33 "displayName" : " About Me Info" ,
44 "description" : " Share your social profiles and links on Telegram" ,
5- "version" : " 0.6.5 " ,
5+ "version" : " 0.6.6-beta.1 " ,
66 "main" : " dist/core/bot.js" ,
77 "publishConfig" : {
88 "access" : " public"
You can’t perform that action at this time.
0 commit comments