...functions while asleep? I'm trying to make it able to still respond while it's waiting, it's logical that with sleep it halts the whole bot, but how do I make it so that the bot still responds while waiting?
Thanks.
...functions while asleep? I'm trying to make it able to still respond while it's waiting, it's logical that with sleep it halts the whole bot, but how do I make it so that the bot still responds while waiting?
Thanks.
The short answer is "no". If you need to "respond", why are you sleeping in the first place?
The programming construct it sounds like you need is called an "event loop". Read up on that.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks