/
Data.py
58 lines (42 loc) · 1.46 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
from pyrogram.types import InlineKeyboardButton
class Data:
# Start Message
START = """
Hey {}
Welcome to {}
I can extract text from images using OCR technology.
By @StarkBots
"""
# Home Button
home_buttons = [
[InlineKeyboardButton("✨ Bot Status and More Bots ✨", url="https://t.me/StarkBots/7")],
[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 = """
You Really Need Help ?!?!?!?!
Just send an image. Rest is on me.
Note : You can send any amount of images at once and it will work with same speed and accuracy.
More features in development. Keep track by joining @StarkBots.
"""
# About Message
ABOUT = """
**About This Bot**
Bot created by @StarkBots
Source Code : [Click Here](https://github.com/StarkBotsIndustries/OCRBot)
Framework : [Pyrogram](docs.pyrogram.org)
Language : [Python](www.python.org)
Developer : @StarkProgrammer
"""