From f95a84c11f6b22f70fc3ece37c74f47a7c1fb5cc Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 14 May 2019 22:10:33 -0400 Subject: [PATCH] add spaces --- sopel_modules/SpiceBot_CommandsQuery/NickQueryCommand.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sopel_modules/SpiceBot_CommandsQuery/NickQueryCommand.py b/sopel_modules/SpiceBot_CommandsQuery/NickQueryCommand.py index f590d24..7699955 100644 --- a/sopel_modules/SpiceBot_CommandsQuery/NickQueryCommand.py +++ b/sopel_modules/SpiceBot_CommandsQuery/NickQueryCommand.py @@ -65,9 +65,9 @@ def query_detection_nick(bot, trigger): closestmatches = similar_list(bot, triggercommand, list(commands_list.keys()), 10, 'reverse') if not len(closestmatches): - bot.notice("Cannot find any similar " + bot.nick + "commands for " + str(triggercommand) + ".", trigger.nick) + bot.notice("Cannot find any similar " + bot.nick + " commands for " + str(triggercommand) + ".", trigger.nick) else: - bot.notice("The following " + bot.nick + "commands may match " + str(triggercommand) + ": " + spicemanip.main(closestmatches, 'andlist') + ".", trigger.nick) + bot.notice("The following " + bot.nick + " commands may match " + str(triggercommand) + ": " + spicemanip.main(closestmatches, 'andlist') + ".", trigger.nick) return commandlist = [] @@ -76,6 +76,6 @@ def query_detection_nick(bot, trigger): commandlist.append(command) if not len(commandlist): - bot.notice("No " + bot.nick + "commands start with " + str(triggercommand) + ".", trigger.nick) + bot.notice("No " + bot.nick + " commands start with " + str(triggercommand) + ".", trigger.nick) else: - bot.notice("The following " + bot.nick + "commands start with " + str(triggercommand) + ": " + spicemanip.main(commandlist, 'andlist') + ".", trigger.nick) + bot.notice("The following " + bot.nick + " commands start with " + str(triggercommand) + ": " + spicemanip.main(commandlist, 'andlist') + ".", trigger.nick)