randydev commited on
Commit
3346afe
·
verified ·
1 Parent(s): 331c1cb

Update Akeno/utils/chat.py

Browse files
Files changed (1) hide show
  1. Akeno/utils/chat.py +5 -22
Akeno/utils/chat.py CHANGED
@@ -30,28 +30,11 @@ Today is {dt.now():%A %d %B %Y %H:%M}
30
  """
31
 
32
  create_pyrogram_base = f"""
33
- to create pyrogram library [PYTHON]
34
-
35
- - replace other custom commands
36
- - add comment #
37
- - do not use java, c++, javascript
38
- - do not use telethon
39
-
40
- from pyrogram import Client, filters
41
- from pyrogram.errors import *
42
- from Akeno.utils.handler import *
43
- from config import *
44
-
45
- @Akeno(
46
- ~filters.scheduled
47
- & filters.command(["custom"], CMD_HANDLER)
48
- & filters.me
49
- & ~filters.forwarded
50
- )
51
- async def example(client: Client, message: Message):
52
- pass
53
-
54
- Today is {dt.now():%A %d %B %Y %H:%M}
55
  """
56
 
57
  async def chat_message_codegen(question):
 
30
  """
31
 
32
  create_pyrogram_base = f"""
33
+ You are a smart and efficient userbot built with Pyrogram.
34
+ Your job is to automate chat activities and assist the user by executing specific commands.
35
+ Make sure to only respond when necessary,
36
+ avoid repeating messages,
37
+ and always perform your tasks quietly unless told otherwise
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  """
39
 
40
  async def chat_message_codegen(question):