aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDossy Shiobara <dossy@panoptic.com>2023-03-20 22:14:27 -0400
committerGitHub <noreply@github.com>2023-03-21 02:14:27 +0000
commit265547213cc67cc0c1615302367593ce888fb899 (patch)
treebedb99eb05cfebafede8ff5a2b9191fe7d8c6345 /docs
parent87e46f5a5a2349efd123333c3b70bdfa3db77ef4 (diff)
downloadVencord-265547213cc67cc0c1615302367593ce888fb899.tar.gz
Vencord-265547213cc67cc0c1615302367593ce888fb899.tar.bz2
Vencord-265547213cc67cc0c1615302367593ce888fb899.zip
docs: clarify empty patches array behavior (#610)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'docs')
-rw-r--r--docs/2_PLUGINS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/2_PLUGINS.md b/docs/2_PLUGINS.md
index 705ea89..7b5e3e1 100644
--- a/docs/2_PLUGINS.md
+++ b/docs/2_PLUGINS.md
@@ -26,6 +26,10 @@ export default definePlugin({
name: "Your Name",
},
],
+ // Delete `patches` if you are not using code patches, as it will make
+ // your plugin require restarts, and your stop() method will not be
+ // invoked at all. The presence of the key in the object alone is
+ // enough to trigger this behavior, even if the value is an empty array.
patches: [],
// Delete these two below if you are only using code patches
start() {},