File size: 569 Bytes
78b07ad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from pyrogram.enums import ChatType

from Hellbot.core.clients import hellbot
from Hellbot.core.config import Config, Symbols
from Hellbot.core.database import db
from Hellbot.plugins.decorator import custom_handler, on_message
from Hellbot.plugins.help import HelpMenu

handler = Config.HANDLERS[0]
bot = hellbot.bot

bot_only = [ChatType.BOT]
group_n_channel = [ChatType.GROUP, ChatType.SUPERGROUP, ChatType.CHANNEL]
group_only = [ChatType.GROUP, ChatType.SUPERGROUP]
private_n_bot = [ChatType.PRIVATE, ChatType.BOT]
private_only = [ChatType.PRIVATE]