You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now every scheduled giveaway produces a coroutine attached to it. The goal of the issue is to make this only with one coroutine and shared flow. Idea is to launch only one coroutine with the earliest giveaway and after schedule it, launch another coroutine with giveaways later.
Example: I'm scheduling giveaway in two days, bot launches coroutine since it is first schedule, next person then launches it's giveaway in one day, so my coroutine will be cancelled and his coroutine with one day delay will be started.
The text was updated successfully, but these errors were encountered:
For now every scheduled giveaway produces a coroutine attached to it. The goal of the issue is to make this only with one coroutine and shared flow. Idea is to launch only one coroutine with the earliest giveaway and after schedule it, launch another coroutine with giveaways later.
Example: I'm scheduling giveaway in two days, bot launches coroutine since it is first schedule, next person then launches it's giveaway in one day, so my coroutine will be cancelled and his coroutine with one day delay will be started.
The text was updated successfully, but these errors were encountered: