discord-php / DiscordPHP

An API to interact with the popular messaging app Discord
MIT License
977 stars 236 forks source link

I am retrieving data from the database and want to periodically check to assign the user's role. How can I do that? #1128

Closed Batuhan337tr closed 1 year ago

Batuhan337tr commented 1 year ago

I am using such a code, but since it is in a loop, none of the events are triggered, and the rest of the code is not executing.

Is there a method that would allow me to accomplish this?

Screenshot_2