From ebfc1f5855c76b30c36b1bb39e2470e8db32cf61 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Wed, 16 Dec 2020 18:23:05 -0700 Subject: [PATCH] Update the response event for SendCard --- server/events.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/server/events.md b/server/events.md index 54288f1..aaace16 100644 --- a/server/events.md +++ b/server/events.md @@ -116,7 +116,14 @@ Sends a card to the server, the server either then either forwards the card to t | from | String | The source of where the card is being sent from. This can be one of `"writer"`, `"guesser"`, any other value will return an error. | team | Integer | The team that is sending the card. This can be either `1` or `2`, any other value will return an error. -## Response Payload: (`NewCard`) +## Response Payload: (`NewCards`) +| Property | Type | Description +| -------- | ---- | ----------- +| cards | String[] | The text of the cards that was sent. +| from | String | The source of the card(s). This will be one of `"deck"`, or `"guesser"` + +

+--- | Property | Type | Description | -------- | ---- | ----------- | text | String | The text of the card that was sent.