Skip to content

Commit 5ccd804

Browse files
authored
Enhanced The Start Message.
1 parent 60d9140 commit 5ccd804

1 file changed

Lines changed: 9 additions & 34 deletions

File tree

β€Žhandlers/start.pyβ€Ž

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -29,47 +29,22 @@ async def cmd_start(message: types.Message):
2929
]
3030
])
3131

32-
# Enhanced welcome message
32+
# Simple welcome message
3333
welcome_text = (
34-
f"πŸŽ‰ **Welcome, {message.from_user.full_name}!** πŸŽ‰\n\n"
35-
36-
f"πŸ€– **PostBot** - Your Advanced Channel Management Assistant\n\n"
37-
38-
f"✨ **What I can do for you:**\n"
39-
f"🌟 Create rich, professional posts with text, media & buttons\n"
40-
f"πŸ“€ Publish to multiple channels simultaneously\n"
41-
f"✏️ Edit existing posts with live preview\n"
42-
f"πŸ”— Manage interactive buttons and links\n"
43-
f"πŸ“· Handle photos, videos, documents & media groups\n"
44-
f"βš™οΈ Advanced settings: pin posts, notifications, link previews\n\n"
45-
46-
f"πŸš€ **Quick Start:**\n"
47-
f"1. Use `/connect @yourchannel` to link your channel\n"
48-
f"2. Click '🌟 Create Post 🌟' to start\n"
49-
f"3. Add content, preview, and publish!\n\n"
50-
51-
f"πŸ’‘ **Pro Tips:**\n"
52-
f"β€’ Use '✏️ Edit Post' to modify published content\n"
53-
f"β€’ Button format: `Text - URL | Text2 - URL2`\n"
54-
f"β€’ Preview before publishing for best results\n\n"
55-
56-
f"πŸ”§ **Need Help?**\n"
57-
f"Join our updates channel or contact the developer below!"
34+
f"πŸ‘‹ **Welcome, {message.from_user.full_name}!**\n\n"
35+
f"πŸ€– **PostBot** - Create and publish posts to your channels\n\n"
36+
f"πŸš€ **Getting Started:**\n"
37+
f"1. Connect your channel with `/connect @yourchannel`\n"
38+
f"2. Create and publish posts easily\n\n"
39+
f"Choose an option below to continue:"
5840
)
5941

60-
# Send the enhanced welcome message
42+
# Send the welcome message with main keyboard
6143
await message.answer(
6244
welcome_text,
6345
reply_markup=keyboard,
6446
parse_mode=ParseMode.MARKDOWN,
6547
)
66-
67-
# Send developer info with inline buttons
68-
await message.answer(
69-
"πŸ‘¨β€πŸ’» **Developer & Support**",
70-
reply_markup=inline_keyboard,
71-
parse_mode=ParseMode.MARKDOWN
72-
)
7348

7449
# Update user information in the MongoDB database
7550
await db.users.update_one(
@@ -122,7 +97,7 @@ async def cmd_developer_info(message: types.Message):
12297
[
12398
InlineKeyboardButton(
12499
text="⭐ Rate on GitHub",
125-
url="https://github.com/DevIncognito/postbot"
100+
url="https://github.com/KunalG932/postbot"
126101
)
127102
]
128103
])

0 commit comments

Comments
Β (0)