Update main.py
This commit is contained in:
6
main.py
6
main.py
@@ -2,7 +2,7 @@ import discord
|
|||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
import os
|
import os
|
||||||
import random
|
import random
|
||||||
import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
intents = discord.Intents.all()
|
intents = discord.Intents.all()
|
||||||
# intents.members = True
|
# intents.members = True
|
||||||
@@ -106,9 +106,9 @@ async def delete(ctx, attr: str, user: discord.Option(choices=[os.environ['N1'],
|
|||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def jueves():
|
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)
|
channel = client.get_channel(1051497546708697120)
|
||||||
await channel.send(fecha_actual)
|
await send_log(fecha_actual)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user