From f2d4307bfcdf07f2cf351e2bad148ec9e7aaf4b8 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 7 Jun 2019 11:21:41 -0400 Subject: [PATCH] fix --- sopel_modules/SpiceBot_Core_Commands/Commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/Commands.py b/sopel_modules/SpiceBot_Core_Commands/Commands.py index 33d0b34..994888e 100644 --- a/sopel_modules/SpiceBot_Core_Commands/Commands.py +++ b/sopel_modules/SpiceBot_Core_Commands/Commands.py @@ -37,9 +37,9 @@ def nickname_comand_commands(bot, trigger): return elif commandused == 'total': - bot.osd("I have " + str(len(commands_list.keys())) + " commands available.") + bot.osd("I have " + str(len(commands_list)) + " commands available.") return elif commandused == 'random': - bot.osd(["Here's a random command for you:", + spicemanip.main(commands_list.keys(), 'random')]) + bot.osd(["Here's a random command for you:", spicemanip.main(commands_list, 'random')]) return