From 7dc98808f575c38ff2793ee6bdddfbf684da5f0d Mon Sep 17 00:00:00 2001 From: "Mike2.0" Date: Fri, 10 Nov 2023 19:02:04 +0000 Subject: [PATCH] Update main.py --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)