tomto
This commit is contained in:
1
main.py
1
main.py
@@ -122,6 +122,7 @@ async def mensaje_jueves():
|
|||||||
@tasks.loop(hours = 12.0)
|
@tasks.loop(hours = 12.0)
|
||||||
async def horario():
|
async def horario():
|
||||||
try:
|
try:
|
||||||
|
if not 7 <= time.localtime().tm_hour <= 9: return
|
||||||
user = bot.get_user(670695670486794260)
|
user = bot.get_user(670695670486794260)
|
||||||
dia = time.localtime().tm_wday
|
dia = time.localtime().tm_wday
|
||||||
if 0 <= dia <= 4:
|
if 0 <= dia <= 4:
|
||||||
|
|||||||
Reference in New Issue
Block a user