1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 00:07:14 +03:00

Updated plugin docs

This commit is contained in:
A_D 2021-05-25 11:29:44 +02:00
parent 6c140abe97
commit f609545fdc
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -1072,6 +1072,10 @@ if 'my_plugin' in debug_senders:
```
For returned data, you can modify `debug_webserver.DEFAULT_RESPONSES` (`dict[str, Union[Callable[[str], str]], str])`
with either a function that accepts a single string (the raw post data) and returns a single string
(the response to send), or with a string if your required response is simple.
## Disable a plugin
EDMC now lets you disable a plugin without deleting it, simply rename the