From 63a39c35155cd633c6b286a6ef6a80fb1e269aff Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Thu, 26 May 2022 19:48:50 -0700 Subject: [PATCH] Add `enabled` documentation to config.toml Signed-off-by: Alek Ratzloff --- config.example.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.example.toml b/config.example.toml index 6383024..5101d75 100644 --- a/config.example.toml +++ b/config.example.toml @@ -30,6 +30,13 @@ module = "plugins.fortune" # By default, it will listen on all channels in the server config. channels = ["#fortune_telling"] +# Whether this plugin is enabled. +# If this is set to false, then the plugin won't load. +# This is useful when you don't want to comment out an entire configuration +# block and instead just disable it. +# default: true +enabled = true + # The rest of this plugin block are specific to the plugin - check the plugin's # documentation for the values you can set.