revoltchat / api

Typescript typings and OpenAPI v3 generator for the Revolt API.
https://developers.revolt.chat/api/
MIT License
37 stars 25 forks source link

Custom message routing #23

Open erkinalp opened 2 years ago

erkinalp commented 2 years ago

What do you want to see?

This could be useful for cross-posting and IoT-related use cases. Custom route management should be permissions-gated to prevent spamming by randomly creating message routes.

The semantics should be as follows: server-wide permissions allow you to create, alter and drop a message route targeting any channel, while per-guild permission only allows you to do so while requiring you to have either:

Routing rule

A routing rule shall consist of eight elements:

Invariants

A routing rule can only be deleted in either of the following cases: