So I want my discord bot to send out a message in the server every morning at 7 am. Using my variable time which is:
time = datetime.datetime.now()
and doing time.hour and time.minute, I can make it print something at the time i want using:
if time.hour == 7:
print('Its 7 am')
but using a whle statement datetime doesnt actually refresh the time. Second of all if there are any discord.py people how would i send the message without using an event refernec or command?