Skip to content

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

Open
@itzhapp

Description

@itzhapp

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.

Metadata

Metadata

Labels

FEATURENew feature or requestMODERATENot easy, but not hard

Type

No type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions