Skip to content

Commit

Permalink
Merge branch 'beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
ptkdev committed Nov 12, 2022
2 parents a512243 + c76b737 commit 97012f0
Show file tree
Hide file tree
Showing 12 changed files with 20,195 additions and 20,060 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
@@ -1,13 +1,19 @@
# v0.6.3 (November 07, 2022)
# v0.6.4 (November 12, 2022)

- Fix: Telegram Topics
- New: youtube
- New: discord
- Fix: set your social links with url or nickname

<!-- all-shields/sponsors-badges:START -->

[![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)

<!-- all-shields/sponsors-badges:END -->

# v0.6.3 (November 07, 2022)

- Fix: Telegram Topics

# v0.6.2 (Juanuary 10, 2022)

- Fix: CI/CD
Expand Down
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -4,11 +4,11 @@

<!-- all-shields/header-badges:START -->

[![v0.6.3](https://img.shields.io/badge/version-v0.6.3-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.4-beta.1](https://img.shields.io/badge/version-v0.6.4--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)

<!-- all-shields/header-badges:END -->

About Me Info Bot: Share your social media and links on Telegram
About Me Info Bot: Share your social profiles and links on Telegram

## 🎁 Support: Donate

Expand Down Expand Up @@ -49,6 +49,8 @@ About Me Info Bot: Share your social media and links on Telegram
- [✔️] Share your tiktok profile on Telegram
- [✔️] Share your steam profile on Telegram
- [✔️] Share your linkedin profile on Telegram
- [✔️] Share your youtube profile on Telegram
- [✔️] Share your discord profile on Telegram
- [✔️] Share your onlyfans profile on Telegram
- [✔️] Share your website on Telegram

Expand All @@ -60,7 +62,7 @@ About Me Info Bot: Share your social media and links on Telegram

1. Add [@AboutMeInfoBot](https://t.me/AboutMeInfoBot) to your Telegram group
2. Run `/start` or `/start@AboutMeInfoBot`
3. Ask social of user, run `/about @NICKNAME`
3. Ask social buttons of user with `/about @NICKNAME`

## 🎮 How to set your links

Expand Down
2 changes: 2 additions & 0 deletions app/functions/api/database/about.ts
Expand Up @@ -19,6 +19,8 @@ const schema = new Schema<AboutInterface>({
instagram: { type: String, default: "" },
github: { type: String, default: "" },
linkedin: { type: String, default: "" },
youtube: { type: String, default: "" },
discord: { type: String, default: "" },
facebook: { type: String, default: "" },
twitter: { type: String, default: "" },
tiktok: { type: String, default: "" },
Expand Down
8 changes: 8 additions & 0 deletions app/functions/commands/about.ts
Expand Up @@ -53,6 +53,8 @@ const about = async (): Promise<void> => {
account.instagram === "" &&
account.twitter === "" &&
account.linkedin === "" &&
account.youtube === "" &&
account.discord === "" &&
account.tiktok === "" &&
account.steam === "" &&
account.onlyfans === "" &&
Expand Down Expand Up @@ -110,6 +112,12 @@ const about = async (): Promise<void> => {
account.linkedin !== "" &&
buttons.url(translate(lang.language, "about_command_button_linkedin"), account.linkedin).row();

account.youtube !== "" &&
buttons.url(translate(lang.language, "about_command_button_youtube"), account.youtube).row();

account.discord !== "" &&
buttons.url(translate(lang.language, "about_command_button_discord"), account.discord).row();

account.steam !== "" &&
buttons.url(translate(lang.language, "about_command_button_steam"), account.steam).row();

Expand Down

0 comments on commit 97012f0

Please sign in to comment.