Skip to content

New Barrier of Entry #4

@nikgil

Description

@nikgil

This is a feature that isn't in the JS version. What is needed is to implement a way for people to only be able to submit resumes after x messages from them have been recorded (been in the community long enough). This breaks down into a number of steps:

  • Create a table that records those below the threshold (just joining). The table should contain Discord ID, No. of Messages Sent, Timestamp of last message.
  • A running async task that prunes users from the database that haven't talked in x days (can be hardcoded for the time being).
  • Server leaving event (if one exists) that removes the person from the database. This one is optional as theoretically the timer should prune them anyway after certain amount of time.
  • Event handler that records when a person in the table posts a message not related to submitting a resume. Update timestamp and increment counter.
  • After x messages (again can be hardcoded) remove person from database.
  • in the submit command check if person is in database, and if so do not let them post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions