{
 "type": "https://xovris.ai/problems/invalid-chat",
 "slug": "invalid-chat",
 "title": "Discord needs the bot's token",
 "statuses": [
  400
 ],
 "states": [
  "invalid"
 ],
 "page": "https://xovris.ai/problems/invalid-chat/",
 "json": "https://xovris.ai/problems/invalid-chat.json",
 "markdown": "https://xovris.ai/problems/invalid-chat.md",
 "cases": [
  {
   "means": null,
   "next": "Send reply as the https address the chat gives an incoming webhook, or leave it out - Xovris answers in the outgoing webhook's own reply then."
  },
  {
   "means": null,
   "next": "Send members as [{\"user\": \"<platform user>\", \"member\": \"<member id>\"}], or leave it out."
  },
  {
   "means": "Nothing was kept.",
   "next": "Send {\"platform\": \"discord\", \"token\": \"...\"} - the token on the Bot page of your application in Discord's Developer Portal. Xovris reads the rest itself."
  },
  {
   "means": "Nothing was kept.",
   "next": "Send {\"platform\": \"google-chat\", \"project\": \"123456789012\", \"serviceAccount\": {...}} - the number on the Google Cloud project's dashboard and the JSON key of the service account the Chat app runs as."
  }
 ]
}