Update Horario.py
This commit is contained in:
@@ -2,3 +2,11 @@
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@tasks.loop(hours = 24.0)
|
||||||
|
async def mensaje_jueves():
|
||||||
|
try:
|
||||||
|
channel = bot.get_channel()
|
||||||
|
if time.localtime().tm_wday == 3:
|
||||||
|
await channel.send("Buenos días, hoy es ")
|
||||||
Reference in New Issue
Block a user