Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.
This repository was archived by the owner on May 19, 2022. It is now read-only.

Create a script that makes pairings out of everyone in the dumpling dates channel #5

@Fattimo

Description

@Fattimo
  • In the src/plugins/dates/scripts.ts file, create a script that reads all of the members of the dumpling dates channel and makes pairings based on that member list
  • If the number is odd, make one group of three, and if one is even, just make pairs.
  • Use the function created in a previous issue to actually make the pairings, this script just splits up the list of members into pairs/ a trio.

https://api.slack.com/methods/conversations.members to get list of members
https://github.com/GT-CSA/dumpling-dates/blob/glitch/app.js use this as a template, starting on line 74

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions