Skip to content

TODO: handle slowmode in POST /channels/:id/typing #1662

Description

@TheArcaneBrony

https://docs.discord.food/resources/channel#trigger-typing-indicator

If the user hit a slowmode rate limit (thread/message creation), the server should respond with a JSON object containing message_send_cooldown_ms or thread_create_cooldown_ms

There are no known clients as of writing that depend on these fields, nor the server responding with a 200 in such a case rather than 204, but may reduce user confusion if they're dealing with a longer slowmode.

You can probably look at the message handler to figure out the math for this...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions