https://github.com/ilgooz/service-discord-invitation
Service to invite users to join the MESG Discord
https://github.com/ilgooz/service-discord-invitation
Last synced: about 2 months ago
JSON representation
Service to invite users to join the MESG Discord
- Host: GitHub
- URL: https://github.com/ilgooz/service-discord-invitation
- Owner: ilgooz
- Created: 2018-07-10T12:58:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-10T13:08:52.000Z (almost 7 years ago)
- Last Synced: 2025-01-31T13:22:34.872Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord invitation
Send an invitation to MESG's Discord
```bash
mesg-core service deploy https://github.com/mesg-foundation/service-discord-invitation
```## Tasks
### send
Task key: **send**
#### Inputs
| **key** | **type** | **description** |
| --- | --- | --- |
| **email** | `String` | Email of the receipient of the email |
| **sendgridAPIKey** | `String` | Sendgrid API key [https://app.sendgrid.com/settings/api_keys](https://app.sendgrid.com/settings/api_keys) |#### Outputs
##### error
Output key: **error**
Return a `message` with the error
| **key** | **type** | **description** |
| --- | --- | --- |
| **message** | `String` | |##### success
Output key: **success**
Return the status `code` and `message` when everything functions as expected.
| **key** | **type** | **description** |
| --- | --- | --- |
| **code** | `Number` | |
| **message** | `String` | |