SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
697 stars 143 forks source link

Is possible to detect member's rule screening checks with discordia? #329

Closed vico93 closed 2 years ago

vico93 commented 2 years ago

I was searching for a bot (or code to run one) that allows users that accept rule screening to have automatically a role, since in my server we use a basic role for new members.

Searching on Reddit, i found there is an API verification that is already implemented on discord.py or discord.js.

Is this already possible with discordia?

Bilal2453 commented 2 years ago

While the member pending property is not officially included, but due to how Discordia internals work you can still access it with Member._pending, this should still fire the regular memberJoin event. Giving that, I believe you can indeed implement it in Discordia.

vico93 commented 2 years ago

Thanks a lot for the clarification!