Skip to content

Commit 087791c

Browse files
authored
Merge pull request #3 from Sobhan-SRZA/pull-reaquest
Pull reaquest
2 parents 87a44f7 + f7a55e9 commit 087791c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ node dist/index.js
9595
| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
9696
| `/start` | Starts the bot. Without parameters, it shows usage instructions. With a referral parameter (`ref-<referralCode>`), it connects you with a partner. | 🚀 |
9797
| `/setprofile` | Opens an inline menu to let you set your profile (e.g., choose your gender). | 👤 |
98-
| `/myprofile` | Displays your profile and your unique referral link (e.g., `https://t.me/<botUsername>?start=ref-<referralCode>`). | 📄 |
99-
| `/activateReferral` | Puts you in a waiting state to accept incoming connections via your referral link. | 🔗 |
98+
| `/myprofile` | Displays your profile and your unique referral link (e.g., `https://t.me/<botUsername>?start=<referralCode>`). | 📄 |
99+
| `/activate_referral` | Puts you in a waiting state to accept incoming connections via your referral link. | 🔗 |
100100
| `/anon` | Joins the general queue for a random anonymous chat (without any profile filtering). | 💬 |
101101
| `/random` | Joins the queue for a random chat filtered by profile (e.g., gender). Optionally, you can pass a parameter (e.g., `/random male`). | 🎲 |
102102
| `/stop` | Stops the current chat session and removes you from any waiting queues. ||

dist/src/commands/Misc/help.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/commands/Misc/help.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands/Chats/start.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const command: CommandType = {
1919

2020
await cleanupUser(client, userId);
2121
const args = ctx.text!.split(" ");
22-
if (args.length > 1) {
22+
if (args.length > 0) {
2323
const param = args[0];
2424
if (!param)
2525
return;

src/commands/Misc/help.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const command: CommandType = {
1616
let commandList = "";
1717
const
1818
categories = readdirSync(`${process.cwd()}/dist/src/commands`),
19-
botDescription = "";
19+
botDescription = "این ربات برای چت خصوصی طراحی شده و شما میتوانید با استفاده از این ربات به صورت ناشناس با بقیه چت کنید بدون لو رفتن هیچ اطلاعاتی از جانب ربات.\n```\nاین ربات چی اطلاعاتی رو ذخیره نمیکند و اطلاعات خصوصی شما بدون خطر لو رفتن فقط توسط شما قابل دسترس میباشد.\n```\n";
2020

2121
categories.forEach(async dir => {
2222
commandList += `**${firstUpperCase(dir)}**\n${client.cmds_info_list_str(dir.toLowerCase() as Categories)}\n`;

0 commit comments

Comments
 (0)