randydev commited on
Commit
1e7eeb0
·
verified ·
1 Parent(s): 7fde6e4

Update chatbot/plugins/start.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/start.py +5 -0
chatbot/plugins/start.py CHANGED
@@ -34,9 +34,13 @@ from pyrogram.errors import *
34
  from database import db
35
  from logger import LOGS
36
 
 
 
37
  logging.basicConfig(level=logging.INFO)
38
  logger = logging.getLogger(__name__)
39
 
 
 
40
  START_TEXT = """
41
  Hey! {name}
42
 
@@ -49,6 +53,7 @@ I am ready to be a approve join request CAPTCHA bot developer
49
  & filters.command(["start"])
50
  & ~filters.forwarded
51
  )
 
52
  async def startbot(client: Client, message: Message):
53
  buttons = InlineKeyboardMarkup(
54
  [
 
34
  from database import db
35
  from logger import LOGS
36
 
37
+ import akenoai.pyro_decorator as akeno
38
+
39
  logging.basicConfig(level=logging.INFO)
40
  logger = logging.getLogger(__name__)
41
 
42
+ LogChannel = akeno.LogChannel(channel_id="KillerXSupport", is_track=True)
43
+
44
  START_TEXT = """
45
  Hey! {name}
46
 
 
53
  & filters.command(["start"])
54
  & ~filters.forwarded
55
  )
56
+ @LogChannel
57
  async def startbot(client: Client, message: Message):
58
  buttons = InlineKeyboardMarkup(
59
  [