Get a new /verifyaccount code
POST
/api/auth/discord/codeMake a code to run as /verifyaccount in the Discord server, which connects the Discord account that runs it to your Modbot account. It works once, for fifteen minutes, and replaces any code you had.
Authorization
session modbot.session<token>
The web app's session, set by POST /api/auth/login.
In: cookie
Response Body
application/json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/auth/discord/code"{ "code": null, "expiresAt": null, "signInSetUp": true, "commandSetUp": true}Get your /verifyaccount code GET
The code you can run /verifyaccount with in the Discord server to connect your Discord account, while one is live, and which ways of connecting this server offers.
Disconnect Discord DELETE
Take the Discord account off your Modbot account. The bot stops treating that Discord account as you, and direct messages stop.