diff --git a/main.py b/main.py index 67c0062..3e2335b 100644 --- a/main.py +++ b/main.py @@ -2,7 +2,7 @@ import discord from discord.ext import commands import os import random -import datetime +from datetime import datetime intents = discord.Intents.all() # intents.members = True @@ -106,9 +106,9 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'], @bot.event async def jueves(): - fecha_actual = datetime.datetime.strftime(fecha_actual, '%A %H:%M:%S') + fecha_actual = datetime.strftime(fecha_actual, '%A %H:%M:%S') channel = client.get_channel(1051497546708697120) - await channel.send(fecha_actual) + await send_log(fecha_actual)