Skip to content

FEATURE - Assign role Active Participants on certain point threshold #275

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

Open
itzhapp opened this issue Nov 20, 2023 · 0 comments
Open
Assignees
Labels
FEATURE New feature or request MODERATE Not easy, but not hard

Comments

@itzhapp
Copy link
Contributor

itzhapp commented Nov 20, 2023

Active participant is a role given to people who are active in chat

The server has a point system where a point is rewarded by this function:

@commands.Cog.listener()
    async def on_message(self, message: discord.Message):
        """When a member sends a message, give them 1 point."""
        if message.author.bot:
            return
        self.bot.db_client.add_points_to_user(message.author.id, 1)

the threshold for giving the role could be for example 100 messages and we only want to give the role once, so if the person has the role already don't give it.

@Xarlos89 Xarlos89 added FEATURE New feature or request MODERATE Not easy, but not hard ZORAKATHON labels Nov 20, 2023
@Xarlos89 Xarlos89 moved this to 📋 Backlog in Zorak Bot Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEATURE New feature or request MODERATE Not easy, but not hard
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants