randydev commited on
Commit
830679f
·
verified ·
1 Parent(s): 2dba60d

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/chat.py +9 -0
chatbot/plugins/chat.py CHANGED
@@ -83,6 +83,15 @@ async def userstatus(client: Client, message: Message):
83
  )
84
  )
85
 
 
 
 
 
 
 
 
 
 
86
  @Client.on_message(
87
  ~filters.scheduled
88
  & filters.command(["onchat"])
 
83
  )
84
  )
85
 
86
+ @Client.on_message(
87
+ ~filters.scheduled
88
+ & filters.command(["testpay"])
89
+ & ~filters.forwarded
90
+ )
91
+ async def test_payment(client: Client, message: Message):
92
+ await db.add_gemini_plan(user_id=message.from_user.id)
93
+ return await message.reply_text("Successfully payment")
94
+
95
  @Client.on_message(
96
  ~filters.scheduled
97
  & filters.command(["onchat"])