Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
7a170e0
1
Parent(s):
b8a26bd
Update birthday.py
Browse files
Powers/plugins/birthday.py
CHANGED
@@ -11,7 +11,7 @@ from pyrogram.types import InlineKeyboardMarkup as IKM
|
|
11 |
from pyrogram.types import Message
|
12 |
|
13 |
from Powers import BDB_URI, LOGGER, TIME_ZONE
|
14 |
-
|
15 |
from Powers.bot_class import Gojo
|
16 |
from Powers.database.chats_db import Chats
|
17 |
from Powers.plugins import bday_cinfo, bday_info
|
@@ -278,7 +278,7 @@ print(days_left)
|
|
278 |
print(x.year - timm.year)
|
279 |
"""
|
280 |
if BDB_URI:
|
281 |
-
scheduler.add_job(send_wishish,'cron',[
|
282 |
scheduler.start()
|
283 |
|
284 |
__PLUGIN__ = "birthday"
|
|
|
11 |
from pyrogram.types import Message
|
12 |
|
13 |
from Powers import BDB_URI, LOGGER, TIME_ZONE
|
14 |
+
|
15 |
from Powers.bot_class import Gojo
|
16 |
from Powers.database.chats_db import Chats
|
17 |
from Powers.plugins import bday_cinfo, bday_info
|
|
|
278 |
print(x.year - timm.year)
|
279 |
"""
|
280 |
if BDB_URI:
|
281 |
+
scheduler.add_job(send_wishish,'cron',[Gojo()],hour=0,minute=0,second=0)
|
282 |
scheduler.start()
|
283 |
|
284 |
__PLUGIN__ = "birthday"
|