-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathData.py
More file actions
70 lines (52 loc) · 2.07 KB
/
Data.py
File metadata and controls
70 lines (52 loc) · 2.07 KB
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
from pyrogram.types import InlineKeyboardButton
class Data:
# Start Message
START = """
Hey {}
Welcome to {}
You can use me to search quotes on different topics and great people any time you want. To know how to use me press 'How to Use' below.
By @ImDark_Empire
"""
# Home Button
home_buttons = [
[InlineKeyboardButton("🔍 Search a Quote 🔍", switch_inline_query_current_chat="")],
[InlineKeyboardButton(text="🏛️ Return Home 🏛️", callback_data="home")],
]
# Rest Buttons
buttons = [
[
InlineKeyboardButton("🔍 Search a Quote 🔍", switch_inline_query_current_chat="")
],
[
InlineKeyboardButton("How to Use ❔", callback_data="help"),
InlineKeyboardButton("♾️ About ♾️", callback_data="about")
],
[InlineKeyboardButton("♥ More Amazing bots ♥", url="https://t.me/SLBotOfficial/28")],
[InlineKeyboardButton("🛬 Support Group 🛬", url="https://t.me/trtechguide")],
]
# Help Message
HELP = """
**🔍 Inline Mode 🔍**
**1) Search Quotes**
Just pass the topic/name on which you wanna search quotes.
Example : `@dark_Quotee_Bot Albert Einstein`
**2) Quote of the Day**
To get 'Quote of the Day' pass `#q` or `#qod`. You will get that for 5 different topics.
Example : `@dark_Quotee_Bot #qod`
**3) Random Quote**
To get a single random quote pass `#r` or `#random`.
Example : `@dark_Quotee_Bot #random`
**4) A Single Quote**
By default, when you will use 1st option, you will get 20-30 quotes. But if you want only 1 random quote of that topic, use `#1` in end.
Example : `@dark_Quotee_Bot Sushant Singh Rajput #1`
More features in development. Keep track by joining @SLBotOfficial.
"""
# About Message
ABOUT = """
**About This Bot**
Bot created by @SLBotOfficial which provides quotes from brainyquotes.com using Python.
Source Code : [Click Here](https://github.com/DARKEMPIRESL/dark_Quotee_Bot)
Framework : [Pyrogram](docs.pyrogram.org)
Language : [Python](www.python.org)
Developer : @ImDark_Empire
"""