jaja que tonto
This commit is contained in:
4
main.py
4
main.py
@@ -111,7 +111,7 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
|
||||
@tasks.loop(hours = 1)
|
||||
async def mensaje_jueves():
|
||||
try:
|
||||
if 8 <= time.localtime().tm_hour < 9:
|
||||
if 8 <= time.localtime().tm_hour < 9: return
|
||||
channel = bot.get_channel(782191552247234632)
|
||||
if time.localtime().tm_wday == 3:
|
||||
await channel.send("<@688355617681047574> FELIZ JUEVES!!!!")
|
||||
@@ -120,7 +120,7 @@ async def mensaje_jueves():
|
||||
await send_log(f"rip. Error: ```{e}```")
|
||||
|
||||
|
||||
@tasks.loop(hours = 12.0)
|
||||
@tasks.loop(hours = 1)
|
||||
async def horario():
|
||||
try:
|
||||
if not 7 <= time.localtime().tm_hour <= 9: return
|
||||
|
||||
Reference in New Issue
Block a user