From e48ec432b8fe8e68f937815dccc5883ca42f345f Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 8 Jul 2021 15:19:47 -0700 Subject: [PATCH] Factoids: simplify disambiguation message --- PBot/Factoids.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index afa29f15..b536906f 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -1146,7 +1146,7 @@ sub interpreter { # if multiple channels have this keyword, then ask user to disambiguate if (@chanlist> 1) { return undef if $context->{referenced}; - return $ref_from . "Ambiguous keyword '$original_keyword' exists in multiple channels (use 'fact $original_keyword' to choose one): " . join(', ', @chanlist); + return $ref_from . "Factoid `$original_keyword` exists in " . join(', ', @chanlist) . "; use `fact $original_keyword` to choose one."; } # if there's just one other channel that has this keyword, trigger that instance