From 6707b59a7349cee16b417218ebdbb11d41bc03d4 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Fri, 3 Jun 2022 20:40:27 -0700 Subject: [PATCH] Move nickserv config documentation up in the file, since it's pretty important Signed-off-by: Alek Ratzloff --- config.example.toml | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/config.example.toml b/config.example.toml index e83c005..5fb396d 100644 --- a/config.example.toml +++ b/config.example.toml @@ -20,6 +20,24 @@ channels = ["#friends", "#chat"] # A plugin block starts with [[plugins]] +[[plugins]] +# The nickserv module registers and logs in a bot upon initial connection. +module = "plugins.nickserv" + +# password +# The password used to log in to this server using NickServ. +password = "my_password" + +# email +# The email address to use for this server when registering with NickServ. +# default: omnibotomni.bot +# email = "omnibotomni.bot" + +# nickserv +# The nickname for the nickserv user. +# default: "NickServ" +# nickserv = "NickServ" + [[plugins]] # The module to load this plugin from. This should be a Python module. # This is required. @@ -104,21 +122,4 @@ module = "plugins.markov" # Additionally, users may set their reply chance between 0.0 and the value they # set. e.g. with a value of 0.01, a user may set their reply chance to 0.001. # default: 0.01 -# reply_chance = 0.01 - -[[plugins]] -module = "plugins.nickserv" - -# password -# The password used to log in to this server using NickServ. -password = "my_password" - -# email -# The email address to use for this server when registering with NickServ. -# default: omnibotomni.bot -# email = "omnibotomni.bot" - -# nickserv -# The nickname for the nickserv user. -# default: "NickServ" -# nickserv = "NickServ" \ No newline at end of file +# reply_chance = 0.01 \ No newline at end of file