forked from Moksh-Bhardwaj/ForceSubscribeBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathData.py
74 lines (52 loc) · 2.01 KB
/
Data.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
from pyrogram.types import InlineKeyboardButton
class Data:
# Start Message
START = """
Hey {}
Welcome to {}
I can force your group's users to join a particular chat.
The chat can be a group or channel. It can be private or public.
Use below buttons to learn more !
By @StarkBots
"""
# Home Button
home_buttons = [
[InlineKeyboardButton(text="🏠 Return Home 🏠", callback_data="home")],
]
# Rest Buttons
buttons = [
[InlineKeyboardButton("✨ Bot Status and More Bots ✨", url="https://t.me/StarkBots/7")],
[
InlineKeyboardButton("How to Use ❔", callback_data="help"),
InlineKeyboardButton("🎪 About 🎪", callback_data="about")
],
[InlineKeyboardButton("♥ More Amazing bots ♥", url="https://t.me/StarkBots")],
[InlineKeyboardButton("🎨 Support Group 🎨", url="https://t.me/StarkBotsChat")],
]
# Help Message
HELP = """
1) Add me as **Admin** to a group.
2) Add me to the particular chat as **Admin** where you want to force your users to join. It can be any group or channel, public or private.
3) Use /fsub chat_id/username to make me functional. Use /id if you need chat id.
Example : `/fsub -1001505616678` or `/forcesubscribe -1001375849192`
4) [Optional] Use /settings to change settings!
5) You are good to go. Leave the rest to me.
✨ **Available Commands** ✨
/fsub - See current force subscribe chat
/fsub chat_id/username - Force users to join the particular chat
/settings - Change Group Settings
/id - Get the chat id of any group or channel
/about - About The Bot
/help - This Message
/start - Start the Bot
**Note** - You can also use `/forcesubscribe` instead of `/fsub`
"""
# About Message
ABOUT = """
**About This Bot**
A telegram force subscribing bot by @StarkBots
Source Code : [Click Here](https://github.com/StarkBotsIndustries/ForceSubscribeBot)
Framework : [Pyrogram](docs.pyrogram.org)
Language : [Python](www.python.org)
Developer : @StarkProgrammer
"""