1
0
mirror of https://github.com/sadfsdfdsa/allbot.git synced 2026-06-19 17:20:03 +02:00

feat: telegram payments release

This commit is contained in:
Artem Shuvaev
2024-06-06 23:56:22 +05:00
parent 548ca831be
commit 9ff7638b2f
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export class Bot {
private readonly BUY_MENTIONS_BUTTON = {
callback_data: '/buy',
text: '⭐️ Buy Unlimited using Telegram Stars',
text: ' Buy ⭐️Unlimited using Telegram Stars',
}
private isListening = false
+3 -3
View File
@@ -1,4 +1,4 @@
import { TELEGRAM_STARS_PRICE } from "./limits.js"
import { CUSTOM_MENTIONS_PER_GROUP_LIMIT, TELEGRAM_STARS_PRICE } from "./limits.js"
const EMPTY_TEXT = `⚠️ Error while parsing mention (see all with /mention). Please use:\n`
@@ -69,7 +69,7 @@ export const INTRODUCE_CUSTOM_MENTIONS_TEXT = `
<i>Need custom tags for part of group members?</i>
<strong>Now it is available for all!</strong>
You can create up to <strong>3</strong> custom mentions, add and delete users from them (click to example for copying):
You can create custom mentions, add and delete users from them (click to example for copying):
${CUSTOM_MENTIONS_CHEATSHEET}
@@ -81,7 +81,7 @@ export const ALREADY_UNLIMITED = `
`
export const NEED_TO_BUY_UNLIMITED = `
😎 <strong>Need more than 3? Unlimited Forever for ${TELEGRAM_STARS_PRICE} Telegram Stars.</strong>
⭐️ <strong>You can use up to ${CUSTOM_MENTIONS_PER_GROUP_LIMIT}, need more? Buy Unlimited Forever for ${TELEGRAM_STARS_PRICE} Telegram Stars.</strong>
`
export const SETTINGS_TEXT = `⚙️ <strong>Settings (can be edited only by group admins):</strong>`
+1 -1
View File
@@ -20,7 +20,7 @@ export class Bot {
};
BUY_MENTIONS_BUTTON = {
callback_data: '/buy',
text: '⭐️ Buy Unlimited using Telegram Stars',
text: ' Buy ⭐️Unlimited using Telegram Stars',
};
isListening = false;
activeQuery = new Set();
+3 -3
View File
@@ -1,4 +1,4 @@
import { TELEGRAM_STARS_PRICE } from "./limits.js";
import { CUSTOM_MENTIONS_PER_GROUP_LIMIT, TELEGRAM_STARS_PRICE } from "./limits.js";
const EMPTY_TEXT = `⚠️ Error while parsing mention (see all with /mention). Please use:\n`;
export const NEW_MENTION_EXAMPLE = `<code>/add_to NEW_MENTION @user @user2</code>`;
export const EMPTY_MENTION_TEXT = `${EMPTY_TEXT}<code>/mention some_existing_mention</code>`;
@@ -58,7 +58,7 @@ export const INTRODUCE_CUSTOM_MENTIONS_TEXT = `
<i>Need custom tags for part of group members?</i>
<strong>Now it is available for all!</strong>
You can create up to <strong>3</strong> custom mentions, add and delete users from them (click to example for copying):
You can create custom mentions, add and delete users from them (click to example for copying):
${CUSTOM_MENTIONS_CHEATSHEET}
@@ -68,7 +68,7 @@ export const ALREADY_UNLIMITED = `
😎 <strong>You have unlimited mentions, thank you for buying!</strong>
`;
export const NEED_TO_BUY_UNLIMITED = `
😎 <strong>Need more than 3? Unlimited Forever for ${TELEGRAM_STARS_PRICE} Telegram Stars.</strong>
⭐️ <strong>You can use up to ${CUSTOM_MENTIONS_PER_GROUP_LIMIT}, need more? Buy Unlimited Forever for ${TELEGRAM_STARS_PRICE} Telegram Stars.</strong>
`;
export const SETTINGS_TEXT = `⚙️ <strong>Settings (can be edited only by group admins):</strong>`;
export const ONLY_ADMIN_SETTINGS_TEXT = '🛑 Only admins';