From 1c1645096f953aa06b5809be6b302015b5bc73d6 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Feb 2024 21:56:14 +0000 Subject: If a user runs an invalid command try to suggest a valid one. --- data/anope.example.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data') diff --git a/data/anope.example.conf b/data/anope.example.conf index fb90a2f08..86c124e66 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -523,6 +523,12 @@ options */ hideregisteredcommands = yes + /* + * If set, the maximum difference between an invalid and valid command name to allow + * as a suggestion. Defaults to 4. + */ + didyoumeandifference = 4 + /* The regex engine to use, as provided by the regex modules. * Leave commented to disable regex matching. * -- cgit