Skip to content

As a Coordinating User, I can randomly select members as Rubber Duck Users during opt-out events #6

@amazingproducer

Description

@amazingproducer

Create a text channel based command, available to members of a configurable role, which accepts as an input:

  • an integer, defaulting to 1 and upper-limited to a configurable value, indicating the number of online members to be selected
  • an optional array of role names, indicating the roles from which to make a selection

This command should respond to a properly-formed input by:

  • deleting the input command from the message history
  • conferring the designated Rubber Duck role to the selected number of members of the input roles
    • if no roles were declared in the input, these selections should be made from among all roles
    • these selections should ignore members of the designated opt-out role
  • sending a list of the users selected to the initiating user via DM in the form of an embed
  • notifying each selected user that they are now a Rubber Duck User

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions