mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Updated plugin docs
This commit is contained in:
parent
6c140abe97
commit
f609545fdc
@ -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
|
## Disable a plugin
|
||||||
|
|
||||||
EDMC now lets you disable a plugin without deleting it, simply rename the
|
EDMC now lets you disable a plugin without deleting it, simply rename the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user