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 script to make chat between two pairings #1

@Fattimo

Description

@Fattimo

If any referenced directories don't exist, create them

  • In the src/plugins/dates folder, create a new file scripts.ts
  • Within this file, create a function that takes an array of strings which are the ids of the people being matched
  • The function should open a conversation between the people being matched https://api.slack.com/methods/conversations.open
  • Then, it should post a message to the channel. You don't need to write the whole message now, just a placeholder will be good enough https://api.slack.com/methods/chat.postMessage#

Feel free to use this old app as a reference
https://github.com/GT-CSA/dumpling-dates/blob/glitch/app.js, starts around line 100 for this issue

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions