From 1d85859124ab4f8d9013fcbaaf5d82286ecc3029 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 20 Sep 2019 15:21:55 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Read.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sopel_modules/SpiceBot/Read.py b/sopel_modules/SpiceBot/Read.py index ae487e0..c69894c 100644 --- a/sopel_modules/SpiceBot/Read.py +++ b/sopel_modules/SpiceBot/Read.py @@ -246,6 +246,9 @@ class BotRead(): def command_defaults(self, dict_from_file): + if "?default" not in list(dict_from_file.keys()): + dict_from_file["?default"] = {} + # the command must have an author if "author" not in list(dict_from_file.keys()): dict_from_file["author"] = "deathbybandaid"