Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Cog to add role to user when onboarding is completed #284

Open
tigattack opened this issue Oct 10, 2024 · 0 comments
Open

[FEAT] Cog to add role to user when onboarding is completed #284

tigattack opened this issue Oct 10, 2024 · 0 comments
Assignees
Labels
new-cog New cog for bot.

Comments

@tigattack
Copy link
Member

tigattack commented Oct 10, 2024

Overview

A cog named onboarding_role (open to suggestions) that listens for the on_member_update1 event and, if the value of flags.completed_onboarding23 is True in the member object, applies a configured role to the user.

Commands

[p]onboarding_role role # Shows config
[p]onboarding_role role <role> # Sets role to apply

Footnotes

  1. https://discordpy.readthedocs.io/en/stable/api.html#discord.on_member_update

  2. https://discordpy.readthedocs.io/en/stable/api.html#discord.Member.flags

  3. https://discordpy.readthedocs.io/en/stable/api.html#discord.MemberFlags.completed_onboarding

@tigattack tigattack added the new-cog New cog for bot. label Oct 10, 2024
@tigattack tigattack self-assigned this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-cog New cog for bot.
Projects
None yet
Development

No branches or pull requests

1 participant