mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(core): add dispatch for autoproxy events (#621)
This commit is contained in:
parent
44bd0d6079
commit
caff9c50aa
5 changed files with 45 additions and 4 deletions
|
|
@ -55,3 +55,4 @@ PluralKit will send invalid requests to your endpoint, with `PING` event type, o
|
|||
|DELETE_SWITCH|a switch was deleted|null|old switch ID can be found in top-level `id` key|
|
||||
|DELETE_ALL_SWITCHES|your system's switches were bulk deleted|null|
|
||||
|SUCCESSFUL_IMPORT|some information was successfully imported through the `pk;import` command to your system|null|
|
||||
|UPDATE_AUTOPROXY|your system's autoproxy in a specific server and/or channel was updated|[autoproxy settings](/api/models#autoproxy-settings-model) with only modified keys|
|
||||
|
|
|
|||
|
|
@ -134,6 +134,8 @@ Every PluralKit entity has two IDs: a short (5-character) ID and a longer UUID.
|
|||
### Autoproxy settings model
|
||||
|key|type|notes|
|
||||
|---|---|---|
|
||||
|?guild_id|snowflake|only sent if the guild ID isn't already known (in dispatch payloads)|
|
||||
|?channel_id|snowflake|only sent if the channel ID isn't already known (in dispatch payloads)|
|
||||
|autoproxy_mode|[autoproxy mode](#autoproxy-mode-enum)||
|
||||
|autoproxy_member|?member id|must be `null` if autoproxy_mode is set to `front`|
|
||||
|last_latch_timestamp|?datetime|read-only|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue