I'm making a Bot like this.
I'm thinking of using the while True loop on_ready, but the problem is that there are so many notification builds in the bot that I can't handle with a simple loop.
You must run it in parallel.
If you have or have not made a Bot like this, please tell me the solution.
python python3 discord
client.loop.create_task(function)
.
Thank you.
greeting
method to post to the class above based on the self
informationDictionary
keyn
In the main loop or the Timer
loop that you switch every minute, get an instance of the current time key from the Dictionary
Dictionary
Greeting
method if an instance existsI feel like I can botize with just one thread using the above method.Try it.
© 2024 OneMinuteCode. All rights reserved.